Module nanorand::entropy

source ·
Expand description

Sources for obtaining entropy.

Functions

  • 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.
  • A wrapper function for non-x86(64) platforms that do not have rdseed.
  • Pull in system entropy using the getrandom crate. Uses backup entropy (rdseed and system time) if it fails.