aiocoap.util.crypto module

This module contains cryptographic helpers for OSCOAP

The module should be abandoned as soon as the functions can be replaced with ones from established cryptographic library bindings.

aiocoap.util.crypto.encrypt_ccm(plaintext, aad, key, iv, tag_length)
exception aiocoap.util.crypto.InvalidAEAD

Bases: Exception

aiocoap.util.crypto.decrypt_ccm(ciphertext, aad, tag, key, iv)