HKDF.Extract Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| Extract(HashAlgorithmName, Byte[], Byte[]) |
Esegue la funzione HKDF-Extract. Vedere la sezione 2.2 di RFC5869. |
| Extract(HashAlgorithmName, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>) |
Esegue la funzione HKDF-Extract. Vedere la sezione 2.2 di RFC5869. |
Extract(HashAlgorithmName, Byte[], Byte[])
- Origine:
- HKDF.cs
- Origine:
- HKDF.cs
- Origine:
- HKDF.cs
- Origine:
- HKDF.cs
- Origine:
- HKDF.cs
Esegue la funzione HKDF-Extract. Vedere la sezione 2.2 di RFC5869.
public static byte[] Extract(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, byte[] ikm, byte[]? salt = default);
static member Extract : System.Security.Cryptography.HashAlgorithmName * byte[] * byte[] -> byte[]
Public Shared Function Extract (hashAlgorithmName As HashAlgorithmName, ikm As Byte(), Optional salt As Byte() = Nothing) As Byte()
Parametri
- hashAlgorithmName
- HashAlgorithmName
Algoritmo hash usato per le operazioni HMAC.
- ikm
- Byte[]
Materiale di keying di input.
- salt
- Byte[]
Valore salt facoltativo (valore casuale non segreto). Se non viene specificato, per impostazione predefinita, una matrice di byte con la stessa lunghezza dell'output dell'algoritmo hash specificato.
Valori restituiti
Chiave pseudorandoma (prk).
Si applica a
Extract(HashAlgorithmName, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>)
- Origine:
- HKDF.cs
- Origine:
- HKDF.cs
- Origine:
- HKDF.cs
- Origine:
- HKDF.cs
- Origine:
- HKDF.cs
Esegue la funzione HKDF-Extract. Vedere la sezione 2.2 di RFC5869.
public:
static int Extract(System::Security::Cryptography::HashAlgorithmName hashAlgorithmName, ReadOnlySpan<System::Byte> ikm, ReadOnlySpan<System::Byte> salt, Span<System::Byte> prk);
public static int Extract(System.Security.Cryptography.HashAlgorithmName hashAlgorithmName, ReadOnlySpan<byte> ikm, ReadOnlySpan<byte> salt, Span<byte> prk);
static member Extract : System.Security.Cryptography.HashAlgorithmName * ReadOnlySpan<byte> * ReadOnlySpan<byte> * Span<byte> -> int
Public Shared Function Extract (hashAlgorithmName As HashAlgorithmName, ikm As ReadOnlySpan(Of Byte), salt As ReadOnlySpan(Of Byte), prk As Span(Of Byte)) As Integer
Parametri
- hashAlgorithmName
- HashAlgorithmName
Algoritmo hash usato per le operazioni HMAC.
- ikm
- ReadOnlySpan<Byte>
Materiale di keying di input.
- salt
- ReadOnlySpan<Byte>
Valore salt (valore casuale non segreto).
Valori restituiti
Numero di byte scritti nel prk buffer.