idevice-srp

Crates.ioidevice-srp
lib.rsidevice-srp
version0.6.0
created_at2025-12-19 04:31:10.33736+00
updated_at2025-12-19 04:31:10.33736+00
descriptionSecure Remote Password (SRP) protocol implementation for the idevice crate
homepage
repositoryhttps://github.com/RustCrypto/PAKEs
max_upload_size
id1994216
size50,067
Jackson Coxson (jkcoxson)

documentation

https://docs.rs/srp

README

RustCrypto: SRP

Forked from OpenBubbles which is a fork from SideStore which is a fork from RustCrypto. This is why we can't have nice things.

I didn't want to fork the entire repo, just the SRP part. That's why there's no history.

The only difference with this fork is that A and B are padded when computing M1.

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.

Commit count: 289

cargo fmt