Tool to encrypt a password with hash functions for PBKDF2 (SHA256, SHA512) and store a password securely.
PBKDF2 Hash - dCode
Tag(s) : Modern Cryptography
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
PBKDF2 decryption functions are not available on dCode (see FAQ)
PBKDF2 (for Password-Based Key Derivation Function 2) is a password-based key derivation algorithm. It is often used to store passwords securely.
PBKDF2 takes a password and salt/salt (a random string of characters) as input, then applies a hash function (usually SHA-1, SHA-256, or SHA-512) iteratively (the number of iterations /rounds is configurable).
Example: PBKDF2() function with sha256 algorithm for password password with salt salt and 1000 iterations returns ba10bd7df33a80626ef566c768b6437f6080cc587e53cbbb297bf009eb31c631
The only way to decipher a hash encoded by PBKDF2 is therefore to try all the passwords, with all the salts.
Since this work is gigantic and endless (several years) with a sufficiently long salt chain and a large number of iterations, dCode does not offer this functionality.
The data generated by PBKDF2 is binary, often stored as hexadecimal values whose length depends on the algorithm used.
The Python library Passlib offers a storage format: $pbkdf2-algo$rounds$salt_b64$hash_b64
The Django CMS uses a similar format: pbkdf2_algo$rounds$salt$hash_b64
dCode retains ownership of the "PBKDF2 Hash" source code. Any algorithm for the "PBKDF2 Hash" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "PBKDF2 Hash" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "PBKDF2 Hash" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "PBKDF2 Hash" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: PBKDF2 Hash on dCode.fr [online website], retrieved on 2025-04-16,