Key Derivation

PBKDF2/HKDF key derivation functions to derive secure keys from passwords or key material.

Configuration

Input Key Material

Salt

Instructions

Supported Algorithms

PBKDF2: Password-Based Key Derivation Function 2, uses HMAC with configurable hash and iterations; scrypt: Memory-hard KDF, resistant to GPU/ASIC attacks; HKDF: HMAC-based Extract-and-Expand Key Derivation Function, suitable for deriving keys from high-entropy sources.

Parameter Notes

Iterations should be at least 100000 for PBKDF2; salt should be random (click 'Random' to generate); key length depends on use case (e.g., AES-256 needs 32 bytes).

Steps

1. Select derivation algorithm and hash algorithm; 2. Set iterations and key length; 3. Enter password and salt; 4. Click 'Derive Key' to get Hex and Base64 results. All operations via Web Crypto API.