Niels Provos' and David Mazières' bcrypt, a crypt(3) algorithm based on Bruce Schneier's Blowfish cipher
Poul-Henning Kamp's MD5 crypt(3) algorithm
Ulrich Drepper's SHA-based crypt(3) algorithms, as specified here: https://akkadia.org/drepper/SHA-crypt.txt
All supported crypt(3) algorithms
Test a password against the given crypt(3) string
Hash password according to salt
Maximum size needed for any crypt() result
Maximum size needed for any genSalt() result
Library for UNIX-style password hashing.
Basic example of password hashing:
The interface to each algorithm is a struct with static members, as below: