Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random generator #40

Open
alehander92 opened this issue Nov 16, 2017 · 3 comments
Open

Random generator #40

alehander92 opened this issue Nov 16, 2017 · 3 comments

Comments

@alehander92
Copy link
Contributor

(From Nim community survey 2017)

@euantorano
Copy link

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

@FedericoCeratto
Copy link
Member

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

@mratsim
Copy link
Collaborator

mratsim commented Oct 4, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants