The Counter with Cipher Block Chaining-Message Authentication Code (CCM) mode is a typical block cipher mode of operation using block cipher algorithm. In this version, we provide Advanced Encryption Standard (AES) processing ability, the cipherkey length for AES should be 128/192/256 bits. Unlike other primitives in this library, this primitive takes an arbitrary length of text in bytes and produces the ciphers with the same length. The MAC is generated simultaneously with the ciphers using the associated data (AD) in arbitrary length. Thus, you must provide the length of payload text and AD before encrypting/decrypting the text.