DecodeBox
Search
K
Guides
SDK Reference
Operations
Playgrounds
Operations Explorer
Auto Detection Lab
Encoding & Decoding Lab
Open DecodeBox
Theme
Menu
ON THIS PAGE
#
Bcrypt
Hashes a password with bcrypt, at a cost you choose.
ID:
bcrypt
Category: Hashing
Aliases: blowfish hash, password hash
#
Arguments
Argument
Type
Default
Constraints
Rounds
number
10
Minimum: 4. Maximum: 16
Salt
string
""
Blank generates one; otherwise 22 bcrypt-base64 characters
Version
option
"2b"
2b, 2a, 2y