PBKDF2 Key Derivation Calculator

Derive keys from passwords using PBKDF2-HMAC. Choose hash, iterations, salt, and key length. Verify existing hashes. All in-browser — no data upload.

Input Parameters
1K 10K 100K 600K 1M WPA2
WPA2 Wi-Fi OWASP 2023 JWT RS256 iOS Keychain
Derived Key
Hex
Base64
Parameters Summary
Time
Verify a Hash

About PBKDF2

PBKDF2 (Password-Based Key Derivation Function 2) is defined in RFC 2898. It derives a cryptographic key from a password by applying a pseudorandom function (typically HMAC) repeatedly. The key parameters are:

Security recommendations (2026): OWASP recommends at least 600,000 iterations for PBKDF2-HMAC-SHA256 (or 1,300,000 for SHA-1). Always use a unique random salt of 16+ bytes per password. For new systems, consider Argon2id or scrypt as they resist GPU/ASIC attacks better than PBKDF2.

Common Use Cases

Use CaseHashIterationsKey Length
WPA2 Wi-Fi PSKSHA-14,09632 bytes (256 bit)
iOS Keychain (PBKDF2)SHA-256100,00032 bytes
1Password (OPSL format)SHA-256100,00032 bytes
OWASP 2023 recommendationSHA-256600,00032 bytes
JWT HS256 key from passwordSHA-256100,00032 bytes
Android Keystore (pre-2019)SHA-25610,00032 bytes

WPA2 Wi-Fi Key Derivation

WPA2 uses PBKDF2-HMAC-SHA1 with 4,096 iterations to derive the Pairwise Master Key (PMK) from the Wi-Fi password and SSID:

PMK = PBKDF2-HMAC-SHA1(password=wifi_password, salt=ssid, iterations=4096, dkLen=32)
WPA2 salt = SSID (case-sensitive). The SSID is the Wi-Fi network name. Two networks with the same password but different SSIDs produce different PMKs. Always include the SSID when deriving WPA2 keys.

For related tools, see HMAC Generator, Hash Digest Calculator, and AES / SM4 Encryption.