Trait otp2::ToBytes

source ·
pub trait ToBytes {
    // Required method
    fn to_bytes(&mut self) -> OtpResult<[u8; 8]>;
}
Expand description

Trait used to provide bytes as input to the HMAC algorithm.

Required Methods§

source

fn to_bytes(&mut self) -> OtpResult<[u8; 8]>

Implementors§