CCM
AES in Counter with CBC-MAC (CCM) mode, an authenticated encryption scheme as defined in NIST SP 800-38C.
Provides confidentiality and authenticity with support for associated data. Uses a 96-bit (12-byte) nonce by default.
val key = provider.get(AES.CCM).keyGenerator().generateKey()
val ciphertext = key.cipher().encrypt(plaintext)Content copied to clipboard
Types
Link copied to clipboard
Link copied to clipboard
An AES-CCM key that provides authenticated encryption and decryption via cipher.
Properties
Link copied to clipboard
The typed identifier that uniquely distinguishes this algorithm and is used to look it up from a CryptographyProvider.
Functions
Link copied to clipboard
Returns a Decoder that decodes AES keys from the specified Key.Format.
Link copied to clipboard
Returns a KeyGenerator that generates AES keys of the given keySize.