package mirage-crypto-rng
A cryptographically secure PRNG
Install
Dune Dependency
Authors
Maintainers
Sources
mirage-crypto-0.11.2.tbz
sha256=d6b97cb7f0dc344a602513cc03137c1e7f0ae105d0721614626cf4f231edf764
sha512=7ab8824730d09bfb4c82a290860e96c8a722456084806741c773ab8d30c983d2061a3f79484debf5fa9bd1c75a0738bd8913b0539743e61245ad172844572b9e
doc/mirage-crypto-rng.unix/Mirage_crypto_rng_unix/index.html
Module Mirage_crypto_rng_unix
Source
RNG seeding on Unix.
This module initializes a Fortuna RNG with getrandom()
, and CPU RNG. On BSD systems (FreeBSD, OpenBSD, macOS) getentropy ()
is used instead of getrandom ()
. On Windows 10 or higher, BCryptGenRandom()
is used with the default RNG. Windows 8 or lower are not supported by this library.
initialize ~g rng
will bring the RNG into a working state.
getrandom size
returns a buffer of size
filled with random bytes.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>