AES Encryption

AES encryption (formerly Rijndael), as defined in U.S. Federal Information Processing Standards Publication 197. The AES operations in this package are not implemented using constant-time algorithms.

Encrypt using Galois Counter Mode, with randomly-generated nonces. It generates a random 96-bit nonce, which is prepended to the ciphertext by Seal, and is extracted from the ciphertext by Open. The NonceSize of the AEAD is zero, while the Overhead is 28 bytes (the combination of nonce size and tag size). A given key MUST NOT be used to encrypt more than 2^32 messages, to limit the risk of a random nonce collision to negligible levels. The key argument must be the AES key, either 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256.

Content:

AES Ciphertext Result: