語言

NonCryptographicHashAlgorithm.GetCurrentHash 方法

定義

多載

名稱 Description
GetCurrentHash()

取得目前計算出的雜湊值,且不修改累積狀態。

GetCurrentHash(Span<Byte>)

將計算出的雜湊值寫入 destination ,且不修改累積狀態。

GetCurrentHash()

來源:
NonCryptographicHashAlgorithm.cs
來源:
NonCryptographicHashAlgorithm.cs
來源:
NonCryptographicHashAlgorithm.cs
來源:
NonCryptographicHashAlgorithm.cs

取得目前計算出的雜湊值,且不修改累積狀態。

public:
 cli::array <System::Byte> ^ GetCurrentHash();
public byte[] GetCurrentHash();
member this.GetCurrentHash : unit -> byte[]
Public Function GetCurrentHash () As Byte()

傳回

Byte[]

已提供的資料的雜湊值。

適用於

GetCurrentHash(Span<Byte>)

來源:
NonCryptographicHashAlgorithm.cs
來源:
NonCryptographicHashAlgorithm.cs
來源:
NonCryptographicHashAlgorithm.cs
來源:
NonCryptographicHashAlgorithm.cs

將計算出的雜湊值寫入 destination ,且不修改累積狀態。

public:
 int GetCurrentHash(Span<System::Byte> destination);
public int GetCurrentHash(Span<byte> destination);
member this.GetCurrentHash : Span<byte> -> int
Public Function GetCurrentHash (destination As Span(Of Byte)) As Integer

參數

destination
Span<Byte>

接收計算出雜湊值的緩衝區。

傳回

寫入 destination的位元組數,永遠 HashLengthInBytes為 。

例外狀況

destination 比 短 HashLengthInBytes。

適用於