[
https://issues.apache.org/jira/browse/RNG-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15523627#comment-15523627
]
Emmanuel Bourg commented on RNG-19:
-----------------------------------
bq. Dealing with OS files (the management it entails cannot be performed
through the intended API)
With the current API the actual file used can be specified by a String
parameter passed to RandomSource.create() (either /dev/random or /dev/urandom).
bq. Save/restore (what is the state of "/dev/random"?)
This generator isn't deterministic, there is no state. The save/restore methods
will just throw an exception.
bq. Portability (or more exactly non-portability)
This is for UNIX systems only, but there is nothing wrong with that.
> 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
(v6.3.4#6332)