Skip to content
Bruce Wayne edited this page Jul 29, 2021 · 2 revisions

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.

Data format extensions

KDF

Symmetric crypto

Clone this wiki locally