Name Description Size
bcrypt.cpp On a 4 GHz Skylake, workfactor == 18 takes about 15 seconds to hash a password. This seems like a reasonable upper bound for the time being. Bcrypt allows up to work factor 31 (2^31 iterations) 7346
bcrypt.h Create a password hash using Bcrypt @warning The password is truncated at at most 72 characters; characters after that do not have any effect on the resulting hash. To support longer passwords, consider pre-hashing the password, for example by using the hex encoding of SHA-256 of the password as the input to bcrypt. @param password the password. @param rng a random number generator @param work_factor how much work to do to slow down guessing attacks @param version which version to emit (may be 'a', 'b', or 'y' all of which have identical behavior in this implementation). @see https://www.usenix.org/events/usenix99/provos/provos_html/ 1578
info.txt 84