Skip to content
Rust Implementation of PolyPasswordHasher, a password hash storage scheme
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
Cargo.lock
Cargo.toml
README.md

README.md

PolyPasswordHasher-Rust

Implementation of the PolyPasswordHasher password storage scheme in Rust

intro

PolyPasswordHasher is a password storage scheme that relies upon Shamir's (t, n) secret-sharing scheme. This ensures that in the case of a password database disclosure, it is near impossible to crack passwords due to the interpendency of secrets as a result of secret-sharing. Therefore, an attacker cannot crack just one password hash at a time, but all of them simulatenously, expontentially increasing the search space for just one password.

To learn more, check out the original publication.

usage

cargo build
cargo test -- --nocapture

todos

  • Documentation
  • Write more tests for PPH library!
  • Implement thresholdless support
You can’t perform that action at this time.