API
AesGcm.Encrypt
Encrypts and authenticates a message; nonce uniqueness per key is essential.
Formal Syntax & Structure
csharp syntaxcsharp
aes.Encrypt(nonce, plaintext, ciphertext, tag)Working Example
Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.aes.Encrypt(nonce, plaintext, ciphertext, tag)