pub fn random_bytes(len: usize) -> Result<Vec<u8>>
Generate len cryptographically random bytes using the OS RNG.
len
Returns WebAuthnError::InvalidClientData if the system RNG fails (extremely unlikely in practice).
WebAuthnError::InvalidClientData