[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] lua-arc4random v1.0
- From: Michael Savage <mikejsavage@...>
- Date: Wed, 21 Jan 2015 15:25:58 +0000
On Wed, Jan 21, 2015 at 03:18:53PM +0000, Michael Savage wrote:
> lua-arc4random is a wrapper around OpenBSD's arc4random. It provides two
> methods, including a safe drop-in replacement for math.random.
> arc4random implements ChaCha20, which is a strong and efficient RNG,
> suitable for generating cryptographic secrets. It is also more robust
> than other methods like urandom, which fails when you run out of file
> descriptors, and has issues with chroots. You can find more information
> in the man file:
> Under the hood, I am using code from libressl-portable to provide the
> arc4random calls on operating systems that do not support it.
I forgot to mention, it's on both luarocks and Github!