HMACMD5.TryHashData Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to compute the HMAC of data using the MD5 algorithm.
public:
static bool TryHashData(ReadOnlySpan<System::Byte> key, ReadOnlySpan<System::Byte> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
C#
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static bool TryHashData(ReadOnlySpan<byte> key, ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten);
C#
public static bool TryHashData(ReadOnlySpan<byte> key, ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten);
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member TryHashData : ReadOnlySpan<byte> * ReadOnlySpan<byte> * Span<byte> * int -> bool
static member TryHashData : ReadOnlySpan<byte> * ReadOnlySpan<byte> * Span<byte> * int -> bool
Public Shared Function TryHashData (key As ReadOnlySpan(Of Byte), source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean
- key
- ReadOnlySpan<Byte>
The HMAC key.
- source
- ReadOnlySpan<Byte>
The data to HMAC.
- bytesWritten
- Int32
When this method returns, contains the total number of bytes written into destination
.
false
if destination
is too small to hold the calculated hash, true
otherwise.
- Attributes
Производ | Верзије |
---|---|
.NET | 6, 7, 8, 9, 10 |
Сарађујте са нама на GitHub-у
Извор овог садржаја можете пронаћи на платформи GitHub, где можете и да креирате и прегледате проблеме и захтеве за повлачењем. Више информација потражите у нашем водичу за сараднике.
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: