15 releases
0.6.0 | Jan 22, 2022 |
---|---|
0.5.0 | Oct 7, 2020 |
0.4.3 | Nov 7, 2019 |
0.4.0 | Dec 20, 2018 |
0.2.4 | Nov 1, 2017 |
#4 in #pake
199 downloads per month
Used in 2 crates
26KB
318 lines
RustCrypto: SRP
Pure Rust implementation of the Secure Remote Password password-authenticated key-exchange algorithm.
About
This implementation is generic over hash functions using the Digest
trait,
so you will need to choose a hash function, e.g. Sha256
from sha2
crate.
Additionally this crate allows to use a specialized password hashing algorithm for private key computation instead of method described in the SRP literature.
Compatibility with other implementations has not yet been tested.
⚠️ Security Warning
This crate has never received an independent third party audit for security and correctness.
USE AT YOUR OWN RISK!
Minimum Supported Rust Version
Rust 1.56 or higher.
Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.
License
Licensed under either of:
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~1MB
~19K SLoC