slauth 0.3.0-alpha

oath HOTP and TOTP complient implementation
Documentation
1
2
3
4
5
6
pub mod utils;
pub mod hotp;
pub mod totp;

pub const OTP_DEFAULT_DIGITS_VALUE: usize = 6;
pub const OTP_DEFAULT_ALG_VALUE: utils::HashesAlgorithm = utils::HashesAlgorithm::SHA1;