KmacXof256 Konstruktoren

Definition

Überlädt

KmacXof256(Byte[], Byte[])

Initialisiert eine neue Instanz der KmacXof256 Klasse.

KmacXof256(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Initialisiert eine neue Instanz der KmacXof256 Klasse.

KmacXof256(Byte[], Byte[])

Quelle:
KmacXof256.cs

Initialisiert eine neue Instanz der KmacXof256 Klasse.

public KmacXof256 (byte[] key, byte[]? customizationString = default);
new System.Security.Cryptography.KmacXof256 : byte[] * byte[] -> System.Security.Cryptography.KmacXof256
Public Sub New (key As Byte(), Optional customizationString As Byte() = Nothing)

Parameter

key
Byte[]

Der KMAC-Schlüssel.

customizationString
Byte[]

Eine optionale Anpassungszeichenfolge. Der Standardwert ist keine Anpassungszeichenfolge.

Ausnahmen

key ist null.

Fehler beim Erstellen einer Instanz des Algorithmus.

Die Plattform unterstützt KMACXOF256 nicht. Anrufer können die eigenschaft IsSupported verwenden, um festzustellen, ob die Plattform KMACXOF256 unterstützt.

Gilt für:

KmacXof256(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Quelle:
KmacXof256.cs

Initialisiert eine neue Instanz der KmacXof256 Klasse.

public KmacXof256 (ReadOnlySpan<byte> key, ReadOnlySpan<byte> customizationString = default);
new System.Security.Cryptography.KmacXof256 : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> System.Security.Cryptography.KmacXof256
Public Sub New (key As ReadOnlySpan(Of Byte), Optional customizationString As ReadOnlySpan(Of Byte) = Nothing)

Parameter

key
ReadOnlySpan<Byte>

Der KMAC-Schlüssel.

customizationString
ReadOnlySpan<Byte>

Eine optionale Anpassungszeichenfolge. Der Standardwert ist keine Anpassungszeichenfolge.

Ausnahmen

Fehler beim Erstellen einer Instanz des Algorithmus.

Die Plattform unterstützt KMACXOF256 nicht. Anrufer können die eigenschaft IsSupported verwenden, um festzustellen, ob die Plattform KMACXOF256 unterstützt.

Gilt für: