Shake128.GetHashAndReset Method

Definition

Overloads

GetHashAndReset(Int32)

Retrieves the hash for the data accumulated from prior calls to the AppendData methods, and resets the object to its initial state.

GetHashAndReset(Span<Byte>)

Fills the buffer with the hash for the data accumulated from prior calls to the AppendData methods, and resets the object to its initial state.

GetHashAndReset(Int32)

Source:
Shake128.cs
Source:
Shake128.cs

Retrieves the hash for the data accumulated from prior calls to the AppendData methods, and resets the object to its initial state.

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

Parameters

outputLength
Int32

The size of the hash to produce.

Returns

Byte[]

The computed hash.

Exceptions

outputLength is negative.

The object has already been disposed.

Applies to

GetHashAndReset(Span<Byte>)

Source:
Shake128.cs
Source:
Shake128.cs

Fills the buffer with the hash for the data accumulated from prior calls to the AppendData methods, and resets the object to its initial state.

public:
 void GetHashAndReset(Span<System::Byte> destination);
public void GetHashAndReset (Span<byte> destination);
member this.GetHashAndReset : Span<byte> -> unit
Public Sub GetHashAndReset (destination As Span(Of Byte))

Parameters

destination
Span<Byte>

The buffer to fill with the hash.

Exceptions

The object has already been disposed.

Applies to