Skip to main content

random_hex

Function random_hex 

Source
pub fn random_hex(bytes: usize) -> Result<String>
Expand description

bytes bytes from the OS CSPRNG, hex-encoded (so 2 * bytes characters).