Kmac128.HashData Method
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
HashData(Byte[], Byte[], Int32, Byte[])
- Source:
- Kmac128.cs
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[]
- source
- Byte[]
- outputLength
- Int32
- customizationString
- Byte[]
Returns
Byte[]
Applies to
HashData(Byte[], Stream, Int32, Byte[])
- Source:
- Kmac128.cs
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[]
- source
- Stream
- outputLength
- Int32
- customizationString
- Byte[]
Returns
Byte[]
Applies to
HashData(ReadOnlySpan<Byte>, Stream, Int32, ReadOnlySpan<Byte>)
- Source:
- Kmac128.cs
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>
- source
- Stream
- outputLength
- Int32
- customizationString
- ReadOnlySpan<Byte>
Returns
Byte[]
Applies to
HashData(ReadOnlySpan<Byte>, Stream, Span<Byte>, ReadOnlySpan<Byte>)
- Source:
- Kmac128.cs
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>
- source
- Stream
- customizationString
- ReadOnlySpan<Byte>
Applies to
HashData(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Int32, ReadOnlySpan<Byte>)
- Source:
- Kmac128.cs
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>
- source
- ReadOnlySpan<Byte>
- outputLength
- Int32
- customizationString
- ReadOnlySpan<Byte>
Returns
Byte[]
Applies to
HashData(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>)
- Source:
- Kmac128.cs
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>
- source
- ReadOnlySpan<Byte>
- customizationString
- ReadOnlySpan<Byte>
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for