Struct rfc_4226::Token [−][src]
pub struct Token<const DIGITS: u8>(pub u32);
Expand description
HOTP token type.
Note that comparing tokens of different lengths will fail:
ⓘ
assert_eq!(Token::<6>(0), Token::<7>(0));
pub struct Token<const DIGITS: u8>(pub u32);
HOTP token type.
Note that comparing tokens of different lengths will fail:
assert_eq!(Token::<6>(0), Token::<7>(0));