Fortuna random number generator

I whipped up a Fortuna RNG (generator only, no entropy accumulator and seed file yet) and being fairly new to Julia, am looking for performance improvement suggestions. New feature suggestions are welcome as well, but this is mostly for my personal amusement, so no feature additions will be promised.

1 Like

You also announced this 6 days ago:

Generally, if you intend this to be useful to others, I would suggest that you

  1. put it in its separate package,

  2. write docstrings instead of comments, and generate documentation,

  3. write unit tests

  4. benchmark against existing implementations in other languages (eg the Go one, Julia should not be significantly slower).

Working on packaging and documentation.