2 references to AsStandaloneArray
Microsoft.AspNetCore.DataProtection (2)
Managed\ManagedAuthenticatedEncryptor.cs (2)
114
rgbKey: new ArraySegment<byte>(tempKeys, 0, _symmetricAlgorithmSubkeyLengthInBytes).
AsStandaloneArray
(),
126
using (var hashAlg = CreateValidationAlgorithm(new ArraySegment<byte>(tempKeys, _symmetricAlgorithmSubkeyLengthInBytes, _validationAlgorithmSubkeyLengthInBytes).
AsStandaloneArray
()))