HMACSHA256.TryHashFinal(Span<Byte>, Int32) Método

Definición

Intenta finalizar el cálculo de HMAC una vez que el algoritmo HMAC procesa los últimos datos.

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

Parámetros

destination
Span<Byte>

Búfer que va a recibir el valor de HMAC.

bytesWritten
Int32

Cuando este método devuelve un valor, el número total de bytes escritos en destination. Este parámetro se trata como sin inicializar.

Devoluciones

Boolean

Es true si destination es lo suficientemente largo como para recibir el valor de HMAC; de lo contrario, false.

Se aplica a