class Matter::Crypto::AES::Ccm

Overview

AES-CCM implementation

Defined in:

matter/crypto/aes/ccm.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(key : Bytes) #

[View source]

Instance Method Detail

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

Decrypt ciphertext with optional additional authenticated data


[View source]
def encrypt(plaintext : Bytes, nonce : Bytes, aad : Bytes | Nil = nil) : Bytes #

Encrypt plaintext with optional additional authenticated data


[View source]