RFR: 8248862: Implement Enhanced Pseudo-Random Number Generators

Jim Laskey jlaskey at openjdk.java.net
Mon Nov 23 15:36:58 UTC 2020


On Fri, 20 Nov 2020 23:30:03 GMT, Roger Baumgartner <github.com+1472572+rogermb at openjdk.org> wrote:

>> This PR is to introduce a new random number API for the JDK. The primary API is found in RandomGenerator and RandomGeneratorFactory. Further description can be found in the JEP https://openjdk.java.net/jeps/356 .
>> 
>> javadoc can be found at http://cr.openjdk.java.net/~jlaskey/prng/doc/api/java.base/java/util/random/package-summary.html
>> 
>> old PR:  https://github.com/openjdk/jdk/pull/1273
>
> src/java.base/share/classes/java/util/random/package-info.java line 149:
> 
>> 147:  *
>> 148:  * <p> For an application running in a 32-bit hardware environment and using
>> 149:  * only one thread or a small number of threads, may be a good choice.
> 
> I think the name of the suitable algorithm is missing here.

Yes - "L32X64MixRandom". Thank you.

-------------

PR: https://git.openjdk.java.net/jdk/pull/1292



More information about the security-dev mailing list