This commit is contained in:
Redkale
2018-05-17 17:58:23 +08:00
parent 2fac5c853e
commit 8f598fe4eb

View File

@@ -149,7 +149,7 @@ public final class Utility {
} catch (Exception e) {
random = new SecureRandom();
}
byte[] bs = new byte[32];
byte[] bs = new byte[16];
random.nextBytes(bs);
random.setSeed(bs);
return random;