KmacXof256.HashData Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| HashData(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>) |
Berekent de hash van gegevens met behulp van het KMACXOF256-algoritme. |
| HashData(ReadOnlySpan<Byte>, Stream, Span<Byte>, ReadOnlySpan<Byte>) |
Berekent de hash van een stream met behulp van het KMACXOF256-algoritme. |
| HashData(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Int32, ReadOnlySpan<Byte>) |
Berekent de hash van gegevens met behulp van het KMACXOF256-algoritme. |
| HashData(Byte[], Stream, Int32, Byte[]) |
Berekent de hash van een stream met behulp van het KMACXOF256-algoritme. |
| HashData(Byte[], Byte[], Int32, Byte[]) |
Berekent de hash van gegevens met behulp van het KMACXOF256-algoritme. |
| HashData(ReadOnlySpan<Byte>, Stream, Int32, ReadOnlySpan<Byte>) |
Berekent de hash van een stream met behulp van het KMACXOF256-algoritme. |
HashData(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>)
- Bron:
- KmacXof256.cs
- Bron:
- KmacXof256.cs
- Bron:
- KmacXof256.cs
Berekent de hash van gegevens met behulp van het KMACXOF256-algoritme.
public static void HashData(ReadOnlySpan<byte> key, ReadOnlySpan<byte> source, Span<byte> destination, ReadOnlySpan<byte> customizationString = default);
static member HashData : ReadOnlySpan<byte> * ReadOnlySpan<byte> * Span<byte> * ReadOnlySpan<byte> -> unit
Public Shared Sub HashData (key As ReadOnlySpan(Of Byte), source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), Optional customizationString As ReadOnlySpan(Of Byte) = Nothing)
Parameters
- key
- ReadOnlySpan<Byte>
De KMAC-sleutel.
- source
- ReadOnlySpan<Byte>
De gegevens die moeten worden gehasht.
- customizationString
- ReadOnlySpan<Byte>
Een optionele aanpassingsreeks. De standaardwaarde is geen aanpassingstekenreeks.
Uitzonderingen
Er is een fout opgetreden tijdens de bewerking.
Het platform biedt geen ondersteuning voor KMACXOF256. Bellers kunnen de IsSupported eigenschap gebruiken om te bepalen of het platform ondersteuning biedt voor KMACXOF256.
Van toepassing op
HashData(ReadOnlySpan<Byte>, Stream, Span<Byte>, ReadOnlySpan<Byte>)
- Bron:
- KmacXof256.cs
- Bron:
- KmacXof256.cs
- Bron:
- KmacXof256.cs
Berekent de hash van een stream met behulp van het KMACXOF256-algoritme.
public static void HashData(ReadOnlySpan<byte> key, System.IO.Stream source, Span<byte> destination, ReadOnlySpan<byte> customizationString = default);
static member HashData : ReadOnlySpan<byte> * System.IO.Stream * Span<byte> * ReadOnlySpan<byte> -> unit
Public Shared Sub HashData (key As ReadOnlySpan(Of Byte), source As Stream, destination As Span(Of Byte), Optional customizationString As ReadOnlySpan(Of Byte) = Nothing)
Parameters
- key
- ReadOnlySpan<Byte>
De KMAC-sleutel.
- source
- Stream
De stroom naar hash.
- customizationString
- ReadOnlySpan<Byte>
Een optionele aanpassingsreeks. De standaardwaarde is geen aanpassingstekenreeks.
Uitzonderingen
source biedt geen ondersteuning voor lezen.
source is null.
Er is een fout opgetreden tijdens de bewerking.
Het platform biedt geen ondersteuning voor KMACXOF256. Bellers kunnen de IsSupported eigenschap gebruiken om te bepalen of het platform ondersteuning biedt voor KMACXOF256.
Van toepassing op
HashData(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Int32, ReadOnlySpan<Byte>)
- Bron:
- KmacXof256.cs
- Bron:
- KmacXof256.cs
- Bron:
- KmacXof256.cs
Berekent de hash van gegevens met behulp van het KMACXOF256-algoritme.
public static byte[] HashData(ReadOnlySpan<byte> key, ReadOnlySpan<byte> source, int outputLength, ReadOnlySpan<byte> customizationString = default);
static member HashData : ReadOnlySpan<byte> * ReadOnlySpan<byte> * int * ReadOnlySpan<byte> -> byte[]
Public Shared Function HashData (key As ReadOnlySpan(Of Byte), source As ReadOnlySpan(Of Byte), outputLength As Integer, Optional customizationString As ReadOnlySpan(Of Byte) = Nothing) As Byte()
Parameters
- key
- ReadOnlySpan<Byte>
De KMAC-sleutel.
- source
- ReadOnlySpan<Byte>
De gegevens die moeten worden gehasht.
- outputLength
- Int32
De grootte van de hash die moet worden geproduceerd.
- customizationString
- ReadOnlySpan<Byte>
Een optionele aanpassingsreeks. De standaardwaarde is geen aanpassingstekenreeks.
Retouren
De hash van de gegevens.
Uitzonderingen
outputLength is negatief.
Er is een fout opgetreden tijdens de bewerking.
Het platform biedt geen ondersteuning voor KMACXOF256. Bellers kunnen de IsSupported eigenschap gebruiken om te bepalen of het platform ondersteuning biedt voor KMACXOF256.
Van toepassing op
HashData(Byte[], Stream, Int32, Byte[])
- Bron:
- KmacXof256.cs
- Bron:
- KmacXof256.cs
- Bron:
- KmacXof256.cs
Berekent de hash van een stream met behulp van het KMACXOF256-algoritme.
public static byte[] HashData(byte[] key, System.IO.Stream source, int outputLength, byte[]? customizationString = default);
static member HashData : byte[] * System.IO.Stream * int * byte[] -> byte[]
Public Shared Function HashData (key As Byte(), source As Stream, outputLength As Integer, Optional customizationString As Byte() = Nothing) As Byte()
Parameters
- key
- Byte[]
De KMAC-sleutel.
- source
- Stream
De stroom naar hash.
- outputLength
- Int32
De grootte van de hash die moet worden geproduceerd.
- customizationString
- Byte[]
Een optionele aanpassingsreeks. De standaardwaarde is geen aanpassingstekenreeks.
Retouren
De hash van de gegevens.
Uitzonderingen
source biedt geen ondersteuning voor lezen.
outputLength is negatief.
key of source is null.
Er is een fout opgetreden tijdens de bewerking.
Het platform biedt geen ondersteuning voor KMACXOF256. Bellers kunnen de IsSupported eigenschap gebruiken om te bepalen of het platform ondersteuning biedt voor KMACXOF256.
Van toepassing op
HashData(Byte[], Byte[], Int32, Byte[])
- Bron:
- KmacXof256.cs
- Bron:
- KmacXof256.cs
- Bron:
- KmacXof256.cs
Berekent de hash van gegevens met behulp van het KMACXOF256-algoritme.
public static byte[] HashData(byte[] key, byte[] source, int outputLength, byte[]? customizationString = default);
static member HashData : byte[] * byte[] * int * byte[] -> byte[]
Public Shared Function HashData (key As Byte(), source As Byte(), outputLength As Integer, Optional customizationString As Byte() = Nothing) As Byte()
Parameters
- key
- Byte[]
De KMAC-sleutel.
- source
- Byte[]
De gegevens die moeten worden gehasht.
- outputLength
- Int32
De grootte van de hash die moet worden geproduceerd.
- customizationString
- Byte[]
Een optionele aanpassingsreeks. De standaardwaarde is geen aanpassingstekenreeks.
Retouren
De hash van de gegevens.
Uitzonderingen
outputLength is negatief.
key of source is null.
Er is een fout opgetreden tijdens de bewerking.
Het platform biedt geen ondersteuning voor KMACXOF256. Bellers kunnen de IsSupported eigenschap gebruiken om te bepalen of het platform ondersteuning biedt voor KMACXOF256.
Van toepassing op
HashData(ReadOnlySpan<Byte>, Stream, Int32, ReadOnlySpan<Byte>)
- Bron:
- KmacXof256.cs
- Bron:
- KmacXof256.cs
- Bron:
- KmacXof256.cs
Berekent de hash van een stream met behulp van het KMACXOF256-algoritme.
public static byte[] HashData(ReadOnlySpan<byte> key, System.IO.Stream source, int outputLength, ReadOnlySpan<byte> customizationString = default);
static member HashData : ReadOnlySpan<byte> * System.IO.Stream * int * ReadOnlySpan<byte> -> byte[]
Public Shared Function HashData (key As ReadOnlySpan(Of Byte), source As Stream, outputLength As Integer, Optional customizationString As ReadOnlySpan(Of Byte) = Nothing) As Byte()
Parameters
- key
- ReadOnlySpan<Byte>
De KMAC-sleutel.
- source
- Stream
De stroom naar hash.
- outputLength
- Int32
De grootte van de hash die moet worden geproduceerd.
- customizationString
- ReadOnlySpan<Byte>
Een optionele aanpassingsreeks. De standaardwaarde is geen aanpassingstekenreeks.
Retouren
De hash van de gegevens.
Uitzonderingen
source biedt geen ondersteuning voor lezen.
outputLength is negatief.
source is null.
Er is een fout opgetreden tijdens de bewerking.
Het platform biedt geen ondersteuning voor KMACXOF256. Bellers kunnen de IsSupported eigenschap gebruiken om te bepalen of het platform ondersteuning biedt voor KMACXOF256.