AES
Advanced Encryption Standard (AES) symmetric encryption algorithm as defined in FIPS 197.
AES supports multiple modes of operation:
GCM and CCM — authenticated encryption with associated data (AEAD).
CTR, CBC, OFB, CFB, CFB8 — unauthenticated block/stream cipher modes.
ECB — electronic codebook, unsuitable for most use cases.
CMAC — message authentication code.
Key sizes of 128, 192, or 256 bits are available via Key.Size. For authenticated encryption, prefer GCM. For legacy compatibility, CBC is widely supported.
Inheritors
Types
AES in Cipher Block Chaining (CBC) mode as defined in NIST SP 800-38A.
AES in Counter with CBC-MAC (CCM) mode, an authenticated encryption scheme as defined in NIST SP 800-38C.
AES in Cipher Feedback (CFB) mode with full-block feedback, a stream cipher as defined in NIST SP 800-38A.
AES in Cipher Feedback (CFB8) mode with 8-bit feedback as defined in NIST SP 800-38A.
AES Cipher-based Message Authentication Code (CMAC) as defined in NIST SP 800-38B.
AES in Counter (CTR) mode, a stream cipher as defined in NIST SP 800-38A.
AES in Electronic Codebook (ECB) mode as defined in NIST SP 800-38A.
AES in Galois/Counter Mode (GCM), an authenticated encryption scheme as defined in NIST SP 800-38D.
AES in Output Feedback (OFB) mode, a stream cipher as defined in NIST SP 800-38A.
Properties
The typed identifier that uniquely distinguishes this algorithm and is used to look it up from a CryptographyProvider.
Functions
Returns a Decoder that decodes AES keys from the specified Key.Format.
Returns a KeyGenerator that generates AES keys of the given keySize.