Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 733 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 733 Bytes

Rust-OTP

Build Status creates.io version

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

Usage

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

[dependencies]
otp = "^0.1"

To use rust-rust-otp add the following to your crate root:

extern crate otp

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, as is its dependancy [hmac-sha1](https://github.com/pantsman0/rust-hmac-sha1