Skip to content

Commit

Permalink
srp: rebuild library (#79)
Browse files Browse the repository at this point in the history
Complete rewrite of the SRP library.

Includes many improvements over the old library:

- Improved file and code organization
- Access to individual SRP computations 
- Consistent sever and client API
- Simpler API
- Improved documentation with tests in documentation
- New tests for compatibility with the RFC
- Bumps dependencies
- Timing safe verification comparisons
- Modernized error handling
  • Loading branch information
jbis9051 authored Jan 22, 2022
1 parent 689dc0a commit 6d96322
Show file tree
Hide file tree
Showing 12 changed files with 629 additions and 400 deletions.
81 changes: 64 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions srp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ repository = "https://github.com/RustCrypto/PAKEs"
keywords = ["crypto", "pake", "authentication"]
categories = ["cryptography", "authentication"]
readme = "README.md"
edition = "2018"
edition = "2021"
rust-version = "1.56"

[dependencies]
num-bigint = "0.4"
generic-array = "0.14"
digest = "0.9"
digest = "0.10"
lazy_static = "1.2"
subtle = "2.4"

[dev-dependencies]
rand = "0.6"
sha2 = "0.9"
sha-1 = "0.9"

[badges]
travis-ci = { repository = "RustCrypto/PAKEs" }
sha2 = "0.10"
sha-1 = "0.10"
num-traits = "0.2"
hex-literal = "0.3"
Loading

0 comments on commit 6d96322

Please sign in to comment.