Module entropy

Source
Expand description

Sources for obtaining entropy.

Functions§

backup
A backup entropy source, trying rdseed first, and if it fails or does not complete, combining it with or using system time-based entropy generation.
rdseed
A wrapper function for non-x86(64) platforms that do not have rdseed.
system
Pull in system entropy using the getrandom crate. Uses backup entropy (rdseed and system time) if it fails.