Implementation of the PolyPasswordHasher password storage scheme in Rust
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.
TODO: API-specific design specs
To build and install locally:
$ cargo install --path .
See tests/
to examine different use cases of the API. To run the tests:
$ cargo test -- --nocapture=1