ערוך

שתף באמצעות


HMACSHA1.TryHashFinal(Span<Byte>, Int32) Method

Definition

Attempts to finalize the HMAC computation after the last data is processed by the HMAC algorithm.

protected:
 override bool TryHashFinal(Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
protected override bool TryHashFinal (Span<byte> destination, out int bytesWritten);
override this.TryHashFinal : Span<byte> * int -> bool
Protected Overrides Function TryHashFinal (destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean

Parameters

destination
Span<Byte>

The buffer to receive the HMAC value.

bytesWritten
Int32

When this method returns, the total number of bytes written into destination. This parameter is treated as uninitialized.

Returns

true if destination is long enough to receive the HMAC value; otherwise, false.

Applies to