Kmac256.HashData 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
HashData(Byte[], Byte[], Int32, Byte[])
- 來源:
- Kmac256.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()
參數
- key
- Byte[]
- source
- Byte[]
- outputLength
- Int32
- customizationString
- Byte[]
傳回
Byte[]
適用於
HashData(Byte[], Stream, Int32, Byte[])
- 來源:
- Kmac256.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()
參數
- key
- Byte[]
- source
- Stream
- outputLength
- Int32
- customizationString
- Byte[]
傳回
Byte[]
適用於
HashData(ReadOnlySpan<Byte>, Stream, Int32, ReadOnlySpan<Byte>)
- 來源:
- Kmac256.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()
參數
- key
- ReadOnlySpan<Byte>
- source
- Stream
- outputLength
- Int32
- customizationString
- ReadOnlySpan<Byte>
傳回
Byte[]
適用於
HashData(ReadOnlySpan<Byte>, Stream, Span<Byte>, ReadOnlySpan<Byte>)
- 來源:
- Kmac256.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)
參數
- key
- ReadOnlySpan<Byte>
- source
- Stream
- customizationString
- ReadOnlySpan<Byte>
適用於
HashData(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Int32, ReadOnlySpan<Byte>)
- 來源:
- Kmac256.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()
參數
- key
- ReadOnlySpan<Byte>
- source
- ReadOnlySpan<Byte>
- outputLength
- Int32
- customizationString
- ReadOnlySpan<Byte>
傳回
Byte[]
適用於
HashData(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>)
- 來源:
- Kmac256.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)
參數
- key
- ReadOnlySpan<Byte>
- source
- ReadOnlySpan<Byte>
- customizationString
- ReadOnlySpan<Byte>
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應