3 references to CreateValidationAlgorithm
Microsoft.AspNetCore.DataProtection (3)
Managed\ManagedAuthenticatedEncryptor.cs (3)
126using (var hashAlg = CreateValidationAlgorithm(new ArraySegment<byte>(tempKeys, _symmetricAlgorithmSubkeyLengthInBytes, _validationAlgorithmSubkeyLengthInBytes).AsStandaloneArray())) 224using (var hashAlgorithm = CreateValidationAlgorithm(validationSubkey)) 344using (var validationAlgorithm = CreateValidationAlgorithm(validationSubkey))