5 implementations of Decrypt
KeyManagementSimulator (1)
Program.cs (1)
293
public void
Decrypt
<TWriter>(ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> additionalAuthenticatedData, ref TWriter destination)
Microsoft.AspNetCore.DataProtection (4)
Cng\CbcAuthenticatedEncryptor.cs (1)
63
public void
Decrypt
<TWriter>(ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> additionalAuthenticatedData, ref TWriter destination) where TWriter : IBufferWriter<byte>
Cng\CngGcmAuthenticatedEncryptor.cs (1)
58
public void
Decrypt
<TWriter>(ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> additionalAuthenticatedData, ref TWriter destination) where TWriter : IBufferWriter<byte>
Managed\AesGcmAuthenticatedEncryptor.cs (1)
68
public void
Decrypt
<TWriter>(ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> additionalAuthenticatedData, ref TWriter destination)
Managed\ManagedAuthenticatedEncryptor.cs (1)
76
public void
Decrypt
<TWriter>(ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> additionalAuthenticatedData, ref TWriter destination)
4 references to Decrypt
Microsoft.AspNetCore.DataProtection (2)
AuthenticatedEncryption\ISpanAuthenticatedEncryptor.cs (1)
28
/// The same AAD must be specified in the corresponding call to <see cref="
Decrypt
{TWriter}"/>.
KeyManagement\KeyRingBasedSpanDataProtector.cs (1)
157
spanEncryptor.
Decrypt
(actualCiphertext, aad, ref destination);
Microsoft.AspNetCore.DataProtection.Tests (2)
Internal\RoundtripEncryptionHelpers.cs (2)
39
spanAuthenticatedEncryptor.
Decrypt
(encryptResult, aad, ref buffer);
48
spanAuthenticatedEncryptor.
Decrypt
(encrypted, aad, ref buffer);