Closed inejge closed 5 years ago
Take a look at RustCrypto organization. It has all hash functions you need and DES implementation too. (though not yet published) There is also a bcrypt crate, but it will need a bit of work.
Revisited for v0.2.0: bcrypt is still missing in RustCrypto, so I see no pressing reason to proceed with porting.
You can use @Keats bcrypt
crate, it's not part of RustCrypto (though I will be happy to see it change), but it does the job.
Thanks to @andy128k, the migration is now complete, so I'm closing this.
Since rust-crypto is unmaintained, pwhash should probably be migrated away from using it for all digest and encryption algorithms (except DES, which is in-tree). There are independent crates for MD5, SHA1 and SHA2. There is nothing that I know of for bcrypt, so I'll probably move it in-tree from rust-crypto.