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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기