package mirage-crypto-rng-lwt
A cryptographically secure PRNG
Install
Dune Dependency
Authors
Maintainers
Sources
mirage-crypto-0.11.1.tbz
sha256=0cda147b20a92bf70c5c9eb7f55c675d03abc76bbd4b1f0dd9cf7fc38016d29c
sha512=36e184c950f8ac51283cbcc2ccea84240c9369c3a5b36d8d0253d45a53b979ca97bd779450c79510205a9d257cc5916c42ab217111b4cad62758292648c79bc3
doc/mirage-crypto-rng-lwt/Mirage_crypto_rng_lwt/index.html
Module Mirage_crypto_rng_lwt
Source
RNG seeding on Lwt.
This module initializes a Fortuna RNG with getrandom()
, and CPU RNG.
initialize ~g ~sleep generator
will bring the RNG into a working state. The argument sleep
is measured in ns (default 1s), and used to sleep between collection of entropy from the CPU RNG, every 10 * sleep
getrandom is used to collect entropy.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>