HKDF.Extract Metodo

Definizione

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

Byte[]

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).

prk
Span<Byte>

Buffer di destinazione per ricevere la chiave pseudorandoma (prk).

Valori restituiti

Numero di byte scritti nel prk buffer.

Si applica a