#hotp #totp #sha-1 #2-factor

otp

Pure rust implementation of Hash- and Time-based One Time Passwords in Rust

2 unstable releases

0.2.0 Dec 9, 2023
0.1.0 Sep 25, 2016

#434 in Authentication

35 downloads per month

Custom license

7KB
105 lines

Rust-OTP

creates.io version

A pure rust implementation for SHA1 HOTP (RFC 4226) and TOTP(RFC 6238).

Usage

To import rust-rust-otp add the following to your Cargo.toml:

[dependencies]
otp = "^0.2"

Contributions

Any contributions are welcome. This was implemented as a learning experience and any advice is appreciated.

License

This crate is licensed under the BSD 3-Clause license.

Dependencies

~460KB