Overview
Bcrypt is a cryptographic method that protects confidentiality, authenticity, or integrity with a defined primitive or protocol step. It should be used only as part of a well-defined protocol with correct parameters and key handling.
Bcrypt protects secrecy, integrity, or authenticity with a named cryptographic primitive.
Compact metadata for implementation and discovery.
Bcrypt is a cryptographic method that protects confidentiality, authenticity, or integrity with a defined primitive or protocol step. It should be used only as part of a well-defined protocol with correct parameters and key handling.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n)
Worst
O(n)
Space
O(1)
hash = bcrypt(password, salt, cost)Combines a password, salt, and work factor into a slow verification hash.
Show messages, keys, nonces, and verification values moving through the cryptographic construction.
Bcrypt operates in O(n) time and O(1) space within the Password Hashing family. Key governing relation: hash = bcrypt(password, salt, cost). Often compared with PBKDF2 and Scrypt.
What each reference supports for this entry.
Original USENIX paper presenting bcrypt and its adaptable cost design, supporting Bcrypt.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Bcrypt and PBKDF2 address nearby cryptography problems but make different implementation tradeoffs.