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

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

Is this redundant now given that SecureRandom can be configured to use 
/dev/urandom?

[The Right Way to Use 
SecureRandom|https://tersesystems.com/blog/2015/12/17/the-right-way-to-use-securerandom/]

Configuration is done in [JDK 
1.8|https://docs.oracle.com/javase/8/docs/technotes/guides/security/SunProviders.html#SecureRandomImp]
 using:

{code:java}
// Linux / OS X only
SecureRandom.getInstance("NativePRNGNonBlocking")
{code}


 

> 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
(v7.6.3#76005)

Reply via email to