#hotp #totp #sha-1 #二因素

otp

Rust中基于哈希和时间的单次密码(OTP)的纯Rust实现

2个不稳定版本

0.2.0 2023年12月9日
0.1.0 2016年9月25日

#599 in 认证

自定义许可协议

7KB
105

Rust-OTP

creates.io version

SHA1 HOTP(RFC 4226)和TOTP(RFC 6238)的纯Rust实现。

使用方法

要导入rust-rust-otp,请将以下内容添加到您的Cargo.toml文件中

[dependencies]
otp = "^0.2"

贡献

欢迎任何形式的贡献。此库作为学习经验实现,任何建议都受到欢迎。

许可协议

此crate采用BSD 3-Clause许可协议。

依赖项

~465KB