Språk

NonCryptographicHashAlgorithm.GetHashAndReset Metod

Definition

Överlagringar

Name Description
GetHashAndReset()

Hämtar det aktuella beräknade hashvärdet och rensar det ackumulerade tillståndet.

GetHashAndReset(Span<Byte>)

Skriver det beräknade hashvärdet för att destination sedan rensa det ackumulerade tillståndet.

GetHashAndReset()

Källa:
NonCryptographicHashAlgorithm.cs
Källa:
NonCryptographicHashAlgorithm.cs
Källa:
NonCryptographicHashAlgorithm.cs
Källa:
NonCryptographicHashAlgorithm.cs

Hämtar det aktuella beräknade hashvärdet och rensar det ackumulerade tillståndet.

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

Returer

Byte[]

Hash-värdet för de data som redan har angetts.

Gäller för

GetHashAndReset(Span<Byte>)

Källa:
NonCryptographicHashAlgorithm.cs
Källa:
NonCryptographicHashAlgorithm.cs
Källa:
NonCryptographicHashAlgorithm.cs
Källa:
NonCryptographicHashAlgorithm.cs

Skriver det beräknade hashvärdet för att destination sedan rensa det ackumulerade tillståndet.

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

Parametrar

destination
Span<Byte>

Bufferten som tar emot det beräknade hashvärdet.

Returer

Antalet byte som skrivs till destination, vilket alltid HashLengthInBytesär .

Undantag

destination är kortare än HashLengthInBytes.

Gäller för