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

◆ Decrypt() [2/2]

void System.Security.Cryptography.AesCcm.Decrypt ( ReadOnlySpan< byte > nonce,
ReadOnlySpan< byte > ciphertext,
ReadOnlySpan< byte > tag,
Span< byte > plaintext,
ReadOnlySpan< byte > associatedData = default(ReadOnlySpan<byte>) )
inline

Definition at line 59 of file AesCcm.cs.

60 {
61 CheckParameters(plaintext, ciphertext, nonce, tag);
62 DecryptCore(nonce, ciphertext, tag, plaintext, associatedData);
63 }
static void CheckParameters(ReadOnlySpan< byte > plaintext, ReadOnlySpan< byte > ciphertext, ReadOnlySpan< byte > nonce, ReadOnlySpan< byte > tag)
Definition AesCcm.cs:65
void DecryptCore(ReadOnlySpan< byte > nonce, ReadOnlySpan< byte > ciphertext, ReadOnlySpan< byte > tag, Span< byte > plaintext, ReadOnlySpan< byte > associatedData=default(ReadOnlySpan< byte >))
Definition AesCcm.cs:99

References System.Security.Cryptography.AesCcm.CheckParameters(), and System.Security.Cryptography.AesCcm.DecryptCore().