Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6F5pq1M5ni1bNw8gr
26 lines
784 B
Plaintext
26 lines
784 B
Plaintext
|
|
== What new SecureRandom() gives you on this machine ==
|
|
algorithm : NativePRNG
|
|
provider : SUN
|
|
|
|
== getInstanceStrong() ==
|
|
algorithm : NativePRNGBlocking
|
|
securerandom.strongAlgorithms = NativePRNGBlocking:SUN,DRBG:SUN
|
|
|
|
== SecureRandom algorithms registered in this JDK ==
|
|
DRBG (SUN)
|
|
NativePRNG (SUN)
|
|
NativePRNGBlocking (SUN)
|
|
NativePRNGNonBlocking (SUN)
|
|
SHA1PRNG (SUN)
|
|
|
|
== A session token: 32 random bytes = 256 bits ==
|
|
length in characters: 43 (value differs on every run)
|
|
|
|
== Seeding: SHA1PRNG is deterministic, the default is not ==
|
|
SHA1PRNG, same seed, same bytes: true
|
|
NativePRNG, same seed, same bytes: false (setSeed only adds entropy; it does not make the output repeatable)
|
|
|
|
== It is also a RandomGenerator, so the range methods work ==
|
|
nextInt(1, 7) in 1..6: true
|