Skip to main content

nros_platform_random_u8

Function nros_platform_random_u8 

Source
pub unsafe extern "C" fn nros_platform_random_u8() -> u8
Expand description

Random u8. Cryptographically random where the platform has an entropy source; otherwise a seeded PRNG. Must be deterministic within a single test session for reproducibility.