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

◆ EncryptCore()

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

Definition at line 97 of file ChaCha20Poly1305.cs.

98 {
99 AeadCommon.Encrypt(_keyHandle, nonce, associatedData, plaintext, ciphertext, tag);
100 }

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

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