package mirage-crypto-rng
A cryptographically secure PRNG
Install
Dune Dependency
Authors
Maintainers
Sources
mirage-crypto-v0.8.0.tbz
sha256=30e65722b932523eeb5cf6ee3956e101980c687c2a1b83763ae19fb0874862f1
sha512=2bf0d94eddb5e513b72ccacbd1eec7d64001ac28b793e203a86cff483e2a308ad32a78f3c4bd5bfb1d0aa62e098f63834fa50c31b64a7842982bb5adef201556
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 ~sleep ()
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)"
>