totp-rfc 0.1.1

Strict no_std HOTP and TOTP with constant-time code comparison, implementing RFC 4226 and RFC 6238
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};