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

◆ EncryptCore()

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

Definition at line 94 of file AesGcm.cs.

95 {
96 AeadCommon.Encrypt(_keyHandle, nonce, associatedData, plaintext, ciphertext, tag);
97 }

References System.Security.Cryptography.AesGcm._keyHandle, and System.Security.Cryptography.AeadCommon.Encrypt().

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