[ 
https://issues.apache.org/jira/browse/RNG-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16919700#comment-16919700
 ] 

Alex D Herbert commented on RNG-19:
-----------------------------------

OK. Where should the new method go?

A new class:

{code:java}
org.apache.commons.rng.simple.RandomUtils
{code}

Or in:

{code:java}
org.apache.commons.rng.simple.RandomSource
{code}

I would favour dropping the {{asUniformRandomProvider(Random)}} method directly 
into RandomSource.


> System generator (/dev/random)
> ------------------------------
>
>                 Key: RNG-19
>                 URL: https://issues.apache.org/jira/browse/RNG-19
>             Project: Commons RNG
>          Issue Type: Wish
>            Reporter: Emmanuel Bourg
>            Priority: Minor
>
> Commons RNG could include a random number generator based on the output of 
> /dev/random or /dev/urandom on Unix systems.
> Commons Crypto has an implementation that could be used as a starting point:
> https://github.com/apache/commons-crypto/blob/master/src/main/java/org/apache/commons/crypto/random/OsCryptoRandom.java



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to