HKDF Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
RFC5869 HMAC-based Extract-and-Expand Key Derivation (HKDF)
public ref class HKDF abstract sealed
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static class HKDF
public static class HKDF
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
type HKDF = class
type HKDF = class
Public Class HKDF
- Inheritance
-
HKDF
- Attributes
Remarks
In situations where the input key material is already a uniformly random bit string, the HKDF standard allows the Extract phase to be skipped and the master key to be used directly as the pseudorandom key. See RFC5869 for more information.
Methods
DeriveKey(HashAlgorithmName, Byte[], Int32, Byte[], Byte[]) |
Performs the key derivation HKDF Expand and Extract functions. |
DeriveKey(HashAlgorithmName, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) |
Performs the key derivation HKDF Expand and Extract functions. |
Expand(HashAlgorithmName, Byte[], Int32, Byte[]) |
Performs the HKDF-Expand function See section 2.3 of RFC5869. |
Expand(HashAlgorithmName, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>) |
Performs the HKDF-Expand function. See section 2.3 of RFC5869. |
Extract(HashAlgorithmName, Byte[], Byte[]) |
Performs the HKDF-Extract function. See section 2.2 of RFC5869. |
Extract(HashAlgorithmName, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>) |
Performs the HKDF-Extract function. See section 2.2 of RFC5869. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om