Pwhash: a password hashing/verification library

Pwhash is a crate which lets you easily generate a hash from a password using several common algorithms, or check a password against an existing hash. You can get it from crates.io, or browse the source repository.

The initial release contains algorithms commonly found on free Unices. It shouldn't be difficult to extend if there's interest.

Comments/suggestions/criticism are welcome.

5 Likes

Cool stuff :slight_smile: I wish I had enough knowledge about crypto to make any real comments but the api looks easy to work with.