Language

NonCryptographicHashAlgorithm.GetHashAndReset メソッド

定義

オーバーロード

名前 説明
GetHashAndReset()

現在計算されたハッシュ値を取得し、累積状態をクリアします。

GetHashAndReset(Span<Byte>)

計算されたハッシュ値を destination に書き込み、累積状態をクリアします。

GetHashAndReset()

ソース:
NonCryptographicHashAlgorithm.cs
ソース:
NonCryptographicHashAlgorithm.cs
ソース:
NonCryptographicHashAlgorithm.cs
ソース:
NonCryptographicHashAlgorithm.cs

現在計算されたハッシュ値を取得し、累積状態をクリアします。

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

返品

Byte[]

既に指定されているデータのハッシュ値。

適用対象

GetHashAndReset(Span<Byte>)

ソース:
NonCryptographicHashAlgorithm.cs
ソース:
NonCryptographicHashAlgorithm.cs
ソース:
NonCryptographicHashAlgorithm.cs
ソース:
NonCryptographicHashAlgorithm.cs

計算されたハッシュ値を destination に書き込み、累積状態をクリアします。

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

パラメーター

destination
Span<Byte>

計算されたハッシュ値を受け取るバッファー。

返品

destinationに書き込まれたバイト数。これは常にHashLengthInBytes。

例外

destination が HashLengthInBytesよりも短い。

適用対象