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 6/week @ 2024-07-19 29/week @ 2024-07-26 8/week @ 2024-08-02 9/week @ 2024-08-23 16/week @ 2024-08-30 38/week @ 2024-09-06 38/week @ 2024-09-13 41/week @ 2024-09-20 42/week @ 2024-09-27 76/week @ 2024-10-04 31/week @ 2024-10-11 37/week @ 2024-10-18 59/week @ 2024-10-25 29/week @ 2024-11-01

166 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