selfrando icon indicating copy to clipboard operation
selfrando copied to clipboard

Use the new ChaCha20 CSPRNG on Linux

Open ahomescu opened this issue 6 years ago • 1 comments

Now that we have a CSPRNG in the selfrando source tree, we could also use it on Linux. We currently read all our random numbers directly from /dev/urandom, but instead could just use that to seed our RNG.

ahomescu avatar Oct 02 '18 21:10 ahomescu

Isn't using kernel CSPRNG always recommended than userspace one? Nowadays you can just use getrandom syscall instead of /dev/urandom if you wish.

Maryse47 avatar Feb 06 '20 13:02 Maryse47