Key Derivation Studio

Derive cryptographic keys from passwords or master secrets with PBKDF2, Scrypt, or HKDF.

Last updated: June 2026 | By Workshelve Team

Derivation Mode

PBKDF2

Standards-based password stretching using repeated HMAC rounds.

Algorithm
PBKDF2
Strength
256 bits

Best for interoperability and browser-native derivation.

Ready to derive

Enter a secret, choose a KDF, and generate key material in the browser.

Derivation engine ready

PBKDF2 / Scrypt / HKDF supported

What does a KDF do?

A key derivation function turns a secret, password, or master key into new cryptographic key material with controlled parameters. Password-based KDFs such as PBKDF2 and Scrypt can make brute-force guessing more expensive, while HKDF is intended for deriving purpose-specific keys from high-entropy input keying material.

Store the salt and derivation parameters needed to reproduce the output. Treat derived key material as secret unless your protocol specifically defines it as a verifier or public value.

How to use it

PBKDF2

Enter a password, choose a hash function, provide a hex salt, and set the iteration count.

Scrypt

Enter a password, provide a hex salt, and tune the cost factor, block size, and parallelism.

HKDF

Use high-entropy input keying material plus optional hex salt and optional context info to derive a purpose-specific key.

Quick reference

AlgorithmBest forRequiresOutput
PBKDF2Interoperable password stretchingPassword, hex salt, iterationsHex key bytes
ScryptMemory-hard derivationPassword, hex salt, cost paramsHex key bytes
HKDFKey expansion from strong secretsIKM, optional hex salt, optional infoHex key bytes

Example workflow

Input

Algorithm: PBKDF2
Salt: required hex salt
Length: 32 bytes

Output

Derived hex output appears here after you run the tool.

Use derived bytes only according to your protocol. Store salts and derivation parameters; do not store raw encryption keys unless your design explicitly requires it.