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

◆ Encrypt() [1/2]

void System.Security.Cryptography.AesCcm.Encrypt ( byte[] nonce,
byte[] plaintext,
byte[] ciphertext,
byte[] tag,
byte?[] associatedData = null )
inline

Definition at line 41 of file AesCcm.cs.

42 {
43 AeadCommon.CheckArgumentsForNull(nonce, plaintext, ciphertext, tag);
44 Encrypt((ReadOnlySpan<byte>)nonce, (ReadOnlySpan<byte>)plaintext, (Span<byte>)ciphertext, (Span<byte>)tag, (ReadOnlySpan<byte>)associatedData);
45 }
void Encrypt(byte[] nonce, byte[] plaintext, byte[] ciphertext, byte[] tag, byte[]? associatedData=null)
Definition AesCcm.cs:41

References System.Security.Cryptography.AeadCommon.CheckArgumentsForNull(), and System.Security.Cryptography.AesCcm.Encrypt().

Referenced by System.Security.Cryptography.AesCcm.Encrypt().