Kmac128 Constructors
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.
Overloads
Kmac128(Byte[], Byte[]) |
Initializes a new instance of the Kmac128 class. |
Kmac128(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) |
Initializes a new instance of the Kmac128 class. |
Kmac128(Byte[], Byte[])
- Source:
- Kmac128.cs
Initializes a new instance of the Kmac128 class.
public Kmac128 (byte[] key, byte[]? customizationString = default);
new System.Security.Cryptography.Kmac128 : byte[] * byte[] -> System.Security.Cryptography.Kmac128
Public Sub New (key As Byte(), Optional customizationString As Byte() = Nothing)
Parameters
- key
- Byte[]
The KMAC key.
- customizationString
- Byte[]
An optional customization string. The default is no customization string.
Exceptions
key
is null
.
An error has occurred creating an instance of the algorithm.
The platform does not support KMAC128. Callers can use the IsSupported property to determine if the platform supports KMAC128.
Applies to
Kmac128(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
- Source:
- Kmac128.cs
Initializes a new instance of the Kmac128 class.
public Kmac128 (ReadOnlySpan<byte> key, ReadOnlySpan<byte> customizationString = default);
new System.Security.Cryptography.Kmac128 : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> System.Security.Cryptography.Kmac128
Public Sub New (key As ReadOnlySpan(Of Byte), Optional customizationString As ReadOnlySpan(Of Byte) = Nothing)
Parameters
- key
- ReadOnlySpan<Byte>
The KMAC key.
- customizationString
- ReadOnlySpan<Byte>
An optional customization string. The default is no customization string.
Exceptions
An error has occurred creating an instance of the algorithm.
The platform does not support KMAC128. Callers can use the IsSupported property to determine if the platform supports KMAC128.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za