Re: $RANDOM not Cryptographically secure pseudorandom number generator
From:
Ole Tange
Subject:
Re: $RANDOM not Cryptographically secure pseudorandom number generator
Date:
Fri, 28 Dec 2018 10:24:50 +0100
On Sun, Dec 16, 2018 at 6:41 AM Eduardo Bustamante <dualbus@gmail.com> wrote:
:
> You know no one is stopping you from submitting a patch to actually
> fix the documentation right? (or maybe, you know, submitting an actual
> working patch to change the random generator, not just drop some
> irrelevant code snippet you got from Wikipedia).
Patch attached.
It is basically a copy of the code snippet from Wikipedia with a few
trivial wrappers.
Apart from using Salsa20 the biggest change is that you can now seed
RANDOM with a string.
/Ole