This commit is contained in:
Redkale
2018-05-17 17:20:08 +08:00
parent b13b07fb05
commit 6f98b44471

View File

@@ -144,7 +144,7 @@ public final class Utility {
*/ */
public static SecureRandom createRandom() { public static SecureRandom createRandom() {
SecureRandom random = new SecureRandom(); SecureRandom random = new SecureRandom();
random.setSeed(System.nanoTime()); random.setSeed(SecureRandom.getSeed(32));
return random; return random;
} }