KmacXof128 Constructeurs
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
KmacXof128(Byte[], Byte[]) |
Initialise une nouvelle instance de la classe KmacXof128. |
KmacXof128(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) |
Initialise une nouvelle instance de la classe KmacXof128. |
- Source:
- KmacXof128.cs
Initialise une nouvelle instance de la classe KmacXof128.
public KmacXof128(byte[] key, byte[]? customizationString = default);
new System.Security.Cryptography.KmacXof128 : byte[] * byte[] -> System.Security.Cryptography.KmacXof128
Public Sub New (key As Byte(), Optional customizationString As Byte() = Nothing)
Paramètres
- key
- Byte[]
Clé KMAC.
- customizationString
- Byte[]
Chaîne de personnalisation facultative. La valeur par défaut n’est pas une chaîne de personnalisation.
Exceptions
key
est null
.
Une erreur s’est produite lors de la création d’une instance de l’algorithme.
La plateforme ne prend pas en charge KMACXOF128. Les appelants peuvent utiliser la propriété IsSupported pour déterminer si la plateforme prend en charge KMACXOF128.
S’applique à
.NET 10 et .NET 9
Produit | Versions |
---|---|
.NET | 9, 10 |
- Source:
- KmacXof128.cs
Initialise une nouvelle instance de la classe KmacXof128.
public KmacXof128(ReadOnlySpan<byte> key, ReadOnlySpan<byte> customizationString = default);
new System.Security.Cryptography.KmacXof128 : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> System.Security.Cryptography.KmacXof128
Public Sub New (key As ReadOnlySpan(Of Byte), Optional customizationString As ReadOnlySpan(Of Byte) = Nothing)
Paramètres
- key
- ReadOnlySpan<Byte>
Clé KMAC.
- customizationString
- ReadOnlySpan<Byte>
Chaîne de personnalisation facultative. La valeur par défaut n’est pas une chaîne de personnalisation.
Exceptions
Une erreur s’est produite lors de la création d’une instance de l’algorithme.
La plateforme ne prend pas en charge KMACXOF128. Les appelants peuvent utiliser la propriété IsSupported pour déterminer si la plateforme prend en charge KMACXOF128.
S’applique à
.NET 10 et .NET 9
Produit | Versions |
---|---|
.NET | 9, 10 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :