-
Notifications
You must be signed in to change notification settings - Fork 3
HKDF
Bruce Wayne edited this page Jul 29, 2021
·
2 revisions
RFC5869 HMAC-based Extract-and-Expand Key Derivation (HKDF)
public static class Hkdf
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. |