aboutsummaryrefslogtreecommitdiff
path: root/core/crypto/rand_linux.odin
Commit message (Collapse)AuthorAgeFilesLines
* Implement new sys/unix packageflysand72023-10-271-22/+21
|
* cleanup of os/linuxColin Davidson2023-02-281-1/+1
|
* crypto: Add rand_bytesYawning Angel2021-11-171-0/+37
This adds `rand_bytes(dst: []byte)` which fills the destination buffer with entropy from the cryptographic random number generator. This takes the "simple is best" approach and just directly returns the OS CSPRNG output instead of doing anything fancy (a la OpenBSD's arc4random).