You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLASSDESCRIPTION.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ The SecurityTools class contains methods surrounding hashing and encryption. Thi
30
30
- readFromFile(String fileName) - Reads a hash or RSA key from a text file.
31
31
- CreateSalt(int size) - Creates a RNG salt for use in password hashing using the supplied length.
32
32
- CreateHash(String passwordToHash, String salt) - Creates a SHA512 password hash with the supplied password and salt.
33
-
- CheckHashesMatch(String enteredPassword, String databasePassword, String databaseSalt) - Checks if the supplied password matches the supplied database password and salt. This can be used to verifiy passwords for a login system.
33
+
- CheckHashesMatch(String enteredPassword, String databasePassword, String databaseSalt) - Checks if the supplied password matches the supplied database password and salt. This can be used to verify passwords for a login system.
34
34
- generateRSAKeyPair() - Generates a RSA key pair for use in encryption.
35
35
- generateKeyPair(boolean saveToFiles, String filename) - Generates a RSA key pair for use in encryption and saves to file.
36
36
- encrypt(PublicKey key, String plaintext) - Encrypts a string using a RSA public key. Returns byte array.
@@ -208,23 +191,6 @@ <h3>Methods inherited from class java.lang.Object</h3>
208
191
<divclass="details">
209
192
<ulclass="blockList">
210
193
<liclass="blockList">
211
-
<!-- ========= CONSTRUCTOR DETAIL ======== -->
212
-
<ulclass="blockList">
213
-
<liclass="blockList"><aname="constructor.detail">
214
-
<!-- -->
215
-
</a>
216
-
<h3>Constructor Detail</h3>
217
-
<aname="CommandInfo--">
218
-
<!-- -->
219
-
</a>
220
-
<ulclass="blockListLast">
221
-
<liclass="blockList">
222
-
<h4>CommandInfo</h4>
223
-
<pre>public CommandInfo()</pre>
224
-
</li>
225
-
</ul>
226
-
</li>
227
-
</ul>
228
194
<!-- ============ METHOD DETAIL ========== -->
229
195
<ulclass="blockList">
230
196
<liclass="blockList"><aname="method.detail">
@@ -277,12 +243,12 @@ <h4>Run</h4>
277
243
<ulclass="blockListLast">
278
244
<liclass="blockList">
279
245
<h4>Run</h4>
280
-
<pre>@Nullable
246
+
<pre>@NotNull
281
247
public static <ahref="../../../com/jgcomptech/tools/CommandInfo.Output.html" title="class in com.jgcomptech.tools">CommandInfo.Output</a> Run(java.lang.String command,
282
-
java.lang.String args,
283
-
boolean elevate,
284
-
boolean hideWindow,
285
-
boolean keepWindowOpen)</pre>
248
+
java.lang.String args,
249
+
boolean elevate,
250
+
boolean hideWindow,
251
+
boolean keepWindowOpen)</pre>
286
252
<divclass="block">Runs command according to parameters, will only open cmd window if OS is Windows <p>
287
253
If OS is not Windows, all boolean parameters are ignored and results will be saved to Output object</div>
288
254
<dl>
@@ -295,7 +261,7 @@ <h4>Run</h4>
295
261
<dd><code>keepWindowOpen</code> - If true, pauses cmd window and forces it to stay open after command is completed <p>
296
262
If false and "elevate" is true, cmd window will close after command is completed
297
263
<p>
298
-
This parameter is ignored if "hidewindow" is true, this prevents cmd window from staying
264
+
This parameter is ignored if "hideWindow" is true, this prevents cmd window from staying
0 commit comments