6[UnsupportedOSPlatform(
"browser")]
11 public override byte[]
Key
39 base.HashName =
"MD5";
42 base.BlockSizeValue = 64;
46 protected override void HashCore(
byte[] rgb,
int ib,
int cb)
86 byte[]
array =
new byte[16];
111 protected override void Dispose(
bool disposing)
116 if (hMacCommon !=
null)
122 base.Dispose(disposing);
void ChangeKey(byte[] key)
void Dispose(bool disposing)
byte[] FinalizeHashAndReset()
bool TryFinalizeHashAndReset(Span< byte > destination, out int bytesWritten)
void AppendHashData(byte[] data, int offset, int count)
static int MacData(string hashAlgorithmId, ReadOnlySpan< byte > key, ReadOnlySpan< byte > source, Span< byte > destination)
static string Argument_DestinationTooShort
override void HashCore(ReadOnlySpan< byte > source)
override byte[] HashFinal()
static byte[] HashData(ReadOnlySpan< byte > key, ReadOnlySpan< byte > source)
override void Dispose(bool disposing)
override bool TryHashFinal(Span< byte > destination, out int bytesWritten)
static bool TryHashData(ReadOnlySpan< byte > key, ReadOnlySpan< byte > source, Span< byte > destination, out int bytesWritten)
override void HashCore(byte[] rgb, int ib, int cb)
static int HashData(ReadOnlySpan< byte > key, ReadOnlySpan< byte > source, Span< byte > destination)
override void Initialize()
static byte[] HashData(byte[] key, byte[] source)