Skip to content

Rust Implementation of PolyPasswordHasher, a password storage scheme based on secret-sharing

Notifications You must be signed in to change notification settings

archival-0x/PolyPasswordHasher-Rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

design

To learn more, check out the original publication.

TODO: API-specific design specs

usage

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

license

mit

About

Rust Implementation of PolyPasswordHasher, a password storage scheme based on secret-sharing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages