3 references to HashData
Microsoft.AspNetCore.DataProtection (2)
Managed\ManagedAuthenticatedEncryptor.cs (2)
419
HMACSHA256.
HashData
(key: validationSubkey, source: ivAndCipherTextSpan, destination: macDestinationSpan);
503
bytesWritten = HMACSHA256.
HashData
(key: validationSubkey, source: hashSource, destination: correctHash);
Microsoft.Extensions.Compliance.Redaction (1)
HmacRedactor.cs (1)
84
_ = HMACSHA256.
HashData
(hashKey, MemoryMarshal.AsBytes(source), hashBuffer);