nanorand::entropy

Function backup

source
pub fn backup(out: &mut [u8])
Expand description

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.

ยงPanics

This function panics if sufficient entropy could not be obtained.