needed-libraries icon indicating copy to clipboard operation
needed-libraries copied to clipboard

Random generator

Open alehander92 opened this issue 6 years ago • 3 comments

(From Nim community survey 2017)

alehander92 avatar Nov 16 '17 09:11 alehander92

Would this include reading from system sources of randomness (eg: /dev/urandom)? If so, I have a library that makes that easy: https://github.com/euantorano/sysrandom.nim

euantorano avatar Jan 20 '18 21:01 euantorano

For cryptographic use do not use handcrafted random generators. Please consider well-known libraries e.g. https://doc.libsodium.org/generating_random_data

FedericoCeratto avatar Oct 04 '20 11:10 FedericoCeratto

Note that we had auditors review and validate our use of BearSSL CSPRNG as well.

Though our usage is still using the low-level primitives for now https://github.com/status-im/nim-eth/pull/265/files

mratsim avatar Oct 04 '20 15:10 mratsim