class
Matter::Crypto::AES::Ccm
- Matter::Crypto::AES::Ccm
- Reference
- Object
Overview
AES-CCM implementation
Defined in:
matter/crypto/aes/ccm.crConstructors
Instance Method Summary
-
#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
Constructor Detail
Instance Method Detail
def decrypt(ciphertext : Bytes, nonce : Bytes, aad : Bytes | Nil = nil) : Bytes
#
Decrypt ciphertext with optional additional authenticated data
def encrypt(plaintext : Bytes, nonce : Bytes, aad : Bytes | Nil = nil) : Bytes
#
Encrypt plaintext with optional additional authenticated data