totp-rfc 0.1.2

Security-hardened, allocation-free no_std HOTP and TOTP for Rust with strict RFC 4226/6238 behavior
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![cfg_attr(not(feature = "std"), no_std)]
#![doc = include_str!("../README.md")]

mod code;
mod error;
mod hotp;
mod secret;
mod totp;

pub use code::{Code, Digits};
pub use error::{CodeError, Error};
pub use hotp::{Hotp, HotpMatch};
pub use secret::{Secret, MIN_SECRET_BYTES};
pub use totp::{Algorithm, Totp, TotpMatch, ValidationWindow, VerifyError};