#bcrypt #hash #password-hash #safe #low-level #salt #factor

no-std bcrypt-only

A low-level bcrypt function in safe Rust

3 releases (breaking)

0.3.1 Aug 20, 2019
0.3.0 Aug 20, 2019
0.2.0 Aug 6, 2019
0.1.0 Aug 5, 2019

#1530 in Cryptography

45 downloads per month
Used in bcrypt-small

ISC license

10KB
248 lines

bcrypt-only

Just the low-level bcrypt function from a 0–72-byte key, 16-byte salt, and work factor to a 23-byte hash. Implemented in safe Rust. Doesn’t yet zero memory.

If you want to generate or verify password hashes with this, you should look at [bcrypt-small][], when it exists.

No runtime deps

Features