Redigeeri

Jagamisviis:


Kmac256.GetCurrentHash Method

Definition

Overloads

GetCurrentHash(Int32)

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

GetCurrentHash(Span<Byte>)

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

GetCurrentHash(Int32)

Source:
Kmac256.cs

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

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

Parameters

outputLength
Int32

The size of the hash to produce.

Returns

Byte[]

The computed hash.

Exceptions

outputLength is negative.

An error has occurred during the operation.

The object has already been disposed.

See also

Applies to

GetCurrentHash(Span<Byte>)

Source:
Kmac256.cs

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

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

Parameters

destination
Span<Byte>

The buffer to fill with the hash.

Exceptions

An error has occurred during the operation.

The object has already been disposed.

See also

Applies to