mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 02:41:35 +03:00
455 B
455 B
libent is a cross-platform wrapper around getentropy(2)
. It exports
one symbol, ent_getentropy
, which expands to getentropy
if the
latter is available. Otherwise, it tries to use the next best source of
entropy -- /dev/urandom on *nix, BCryptGenRandom on Windows.
References: