Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ DecryptCore()

void System.Security.Cryptography.ChaCha20Poly1305.DecryptCore ( ReadOnlySpan< byte > nonce,
ReadOnlySpan< byte > ciphertext,
ReadOnlySpan< byte > tag,
Span< byte > plaintext,
ReadOnlySpan< byte > associatedData = default(ReadOnlySpan<byte>) )
inlineprivate

Definition at line 102 of file ChaCha20Poly1305.cs.

103 {
104 AeadCommon.Decrypt(_keyHandle, nonce, associatedData, ciphertext, tag, plaintext, clearPlaintextOnFailure: true);
105 }

References System.Security.Cryptography.ChaCha20Poly1305._keyHandle, and System.Security.Cryptography.AeadCommon.Decrypt().

Referenced by System.Security.Cryptography.ChaCha20Poly1305.Decrypt().