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

Download history 54/week @ 2024-07-01 17/week @ 2024-07-08 8/week @ 2024-07-22 35/week @ 2024-07-29 13/week @ 2024-08-26 20/week @ 2024-09-02 41/week @ 2024-09-09 31/week @ 2024-09-16 56/week @ 2024-09-23 40/week @ 2024-09-30 76/week @ 2024-10-07 26/week @ 2024-10-14

199 downloads per month
Used in 2 crates

MIT/Apache

26KB
318 lines

RustCrypto: SRP

crate Docs Apache2/MIT licensed Rust Version Project Chat Build Status

Pure Rust implementation of the Secure Remote Password password-authenticated key-exchange algorithm.

Documentation

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