Commit 7c8f5ceb authored by Costin Grigoras's avatar Costin Grigoras
Browse files

Initialize the random number generator before it's needed

parent 81b91235
......@@ -107,6 +107,10 @@ public class JAKeyStore {
*/
public static KeyStore trustStore;
private static final String charString = "!0123456789abcdefghijklmnopqrstuvwxyz@#$%^&*()-+=_{}[]:;|?/>.,<";
private static final Random ran = new Random(System.nanoTime());
/**
*
*/
......@@ -637,10 +641,6 @@ public class JAKeyStore {
return null;
}
private static final String charString = "!0123456789abcdefghijklmnopqrstuvwxyz@#$%^&*()-+=_{}[]:;|?/>.,<";
private static final Random ran = new Random(System.nanoTime());
/**
* @return randomized char array of passLength length
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment