class

Matter::Crypto::AES::Ccm

Inherits Reference < Object

AES-CCM implementation

Constructors

new(key : Bytes)
Source

Instance methods

decrypt(ciphertext : Bytes, nonce : Bytes, aad : Bytes | Nil = nil) : Bytes

Decrypt ciphertext with optional additional authenticated data

Source
encrypt(plaintext : Bytes, nonce : Bytes, aad : Bytes | Nil = nil) : Bytes

Encrypt plaintext with optional additional authenticated data

Source