MD5.TryHashData(ReadOnlySpan<Byte>, Span<Byte>, Int32) Método

Definição

Tenta computar o hash de dados usando o algoritmo MD5.

public:
 static bool TryHashData(ReadOnlySpan<System::Byte> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public static bool TryHashData (ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static bool TryHashData (ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten);
static member TryHashData : ReadOnlySpan<byte> * Span<byte> * int -> bool
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member TryHashData : ReadOnlySpan<byte> * Span<byte> * int -> bool
Public Shared Function TryHashData (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean

Parâmetros

source
ReadOnlySpan<Byte>

Os dados a serem hash.

destination
Span<Byte>

O buffer que recebe o valor de hash.

bytesWritten
Int32

Quando esse método é retornado, o número total de bytes gravados em destination.

Retornos

false se destination for muito pequeno para manter o hash calculado. Caso contrário, true.

Atributos

Aplica-se a