Skip to main content

fill_from_entropy

Function fill_from_entropy 

Source
pub fn fill_from_entropy(buf: &mut [u8]) -> Result<(), String>
Expand description

Fill buf from the operating system’s entropy: what a nonce or a key is drawn from. A sealed test world never decides it, since a nonce a test world fixed would repeat across seals.