Function nanorand::entropy::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.