HKDF Derive Key and Verify Online
Derive cryptographic keys with HKDF.
Derived Key
Derive context-specific keys from high-entropy material
Worked example
HKDF takes input key material, an optional salt and an info label. For instance, use a synthetic input key and derive 256-bit output with SHA-256, then repeat with an info label of test-session instead of test-storage; the outputs should differ. Keep all input formats and output length identical when verifying a result.
What to check
HKDF is intended for existing high-entropy key material, not human passwords. For password-based derivation use an appropriate password KDF. Info is a context label, not necessarily secret. Only use Skip Extract when the input is already a suitable pseudorandom key. Do not expose real key material.