Matter::Crypto::AES::Ccm
Inherits Reference < Object
AES-CCM implementation
Constructors
new(key : Bytes)
SourceInstance methods
decrypt(ciphertext : Bytes, nonce : Bytes, aad : Bytes | Nil = nil) : Bytes
Decrypt ciphertext with optional additional authenticated data
encrypt(plaintext : Bytes, nonce : Bytes, aad : Bytes | Nil = nil) : Bytes
Encrypt plaintext with optional additional authenticated data