Skip to content

Conversation

VlkrS
Copy link

@VlkrS VlkrS commented May 23, 2025

crypto:strong_rand_bytes/1 doesn't need seeding:

"Generates N bytes randomly uniform 0..255, and returns the result in a binary. Uses a cryptographically secure prng seeded and periodically mixed with operating system provided entropy. By default this is the RAND_bytes method from OpenSSL."

https://www.erlang.org/docs/25/man/crypto#strong_rand_bytes-1

crypto:strong_rand_bytes/1 doesn't need seeding:

"Generates N bytes randomly uniform 0..255, and returns the result in a binary. Uses a cryptographically secure prng seeded and periodically mixed with operating system provided entropy. By default this is the RAND_bytes method from OpenSSL."

https://www.erlang.org/docs/25/man/crypto#strong_rand_bytes-1
@VlkrS VlkrS mentioned this pull request May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant