#crypto #pake #authentication

srp

Secure Remote Password (SRP) protocol implementation

15 releases

Uses new Rust 2021

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

#2 in #pake

Download history 35/week @ 2022-06-13 44/week @ 2022-06-20 54/week @ 2022-06-27 53/week @ 2022-07-04 52/week @ 2022-07-11 73/week @ 2022-07-18 50/week @ 2022-07-25 57/week @ 2022-08-01 65/week @ 2022-08-08 20/week @ 2022-08-15 52/week @ 2022-08-22 32/week @ 2022-08-29 63/week @ 2022-09-05 18/week @ 2022-09-12 22/week @ 2022-09-19 23/week @ 2022-09-26

126 downloads per month
Used in hap

MIT/Apache

25KB
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

~800KB
~18K SLoC