HKDF - HMBSbige/CryptoBase GitHub Wiki

RFC5869 HMAC-based Extract-and-Expand Key Derivation (HKDF)

public static class Hkdf

Methods

Method Description
void DeriveKey(DigestType type, ReadOnlySpan<byte> ikm, Span<byte> output, ReadOnlySpan<byte> salt, ReadOnlySpan<byte> info) Performs the key derivation HKDF Expand and Extract functions.
int Extract(DigestType type, ReadOnlySpan<byte> ikm, ReadOnlySpan<byte> salt, Span<byte> prk) Performs the HKDF-Extract function.
void Expand(DigestType type, ReadOnlySpan<byte> prk, Span<byte> output, ReadOnlySpan<byte> info) Performs the HKDF-Expand function.
⚠️ **GitHub.com Fallback** ⚠️