DecodeBox
Search
K
Guides
SDK Reference
Operations
Playgrounds
Operations Explorer
Auto Detection Lab
Encoding & Decoding Lab
Open DecodeBox
Theme
Menu
ON THIS PAGE
#
Derive PBKDF2 key
Stretches a password into a key using PBKDF2.
ID:
pbkdf2
Category: Hashing
Aliases: key derivation, password based key, kdf
#
Arguments
Argument
Type
Default
Constraints
Salt
string
""
UTF-8
Iterations
number
100000
Minimum: 1. Maximum: 5000000
Key length (bits)
number
256
Minimum: 8. Maximum: 2048
Hash
option
"SHA-256"
SHA-1, SHA-256, SHA-384, SHA-512