EvpKDF (MD5) Key Derivation Calculator

Derive bytes for legacy OpenSSL EVP_BytesToKey compatibility.



How to use

When reproducing an existing derivation, use its exact password bytes, salt and iteration count. Choose the byte length needed by the legacy format, including any bytes it assigns to the IV.

FAQ

Where are the legacy password and salt processed?

The browser runs the MD5 derivation on the supplied password bytes and Hex salt. The password, salt and derived bytes are not uploaded.

What is supported?

Enter a password as UTF-8, Hex or Base64, and the salt as Hex. The tool uses MD5 and returns 1–64 bytes with the selected iteration count.

Other Languages

EvpKDF (MD5) Key Derivation Calculator — Base64.sh

EvpKDF (MD5) Key Derivation Calculator

Derive bytes for legacy OpenSSL EVP_BytesToKey compatibility.

Share:

References

How we make sure

We check this tool with the automated test suites linked below. Example checks are shown in their original language.

Verification method
Construct the first two EVPBytesToKey MD5 blocks independently with Node hashes and compare the 32 derived bytes.
Comparison reference
Node.js 24.22.1 crypto (OpenSSL 3.5.9) MD5 chain versus CryptoJS 4.2.0 EvpKDF, fixed salt and one iteration.
Verification scope
Covers the first two MD5 blocks with a fixed salt and one iteration.
Test source and cases (select a file to read it)

These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.