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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈