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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應