Module refinery.units.crypto.cipher.aes
Expand source code Browse git
from __future__ import annotations
from Cryptodome.Cipher import AES
from refinery.lib.crypto import PyCryptoFactoryWrapper
from refinery.units.crypto.cipher import StandardBlockCipherUnit
class aes(StandardBlockCipherUnit, cipher=PyCryptoFactoryWrapper(AES)):
"""
AES encryption and decryption.
"""
Classes
class aes (key, *, iv=b'', padding=None, mode=None, raw=False, little_endian=False, segment_size=0, tag=(), aad=b'')-
AES encryption and decryption.
Expand source code Browse git
class aes(StandardBlockCipherUnit, cipher=PyCryptoFactoryWrapper(AES)): """ AES encryption and decryption. """Ancestors
Subclasses
Inherited members
StandardBlockCipherUnit:FilterEverythingRequiresassemblecodecconsolefilterfinishhandlesis_quietis_reversiblekey_sizelabelledleniencylog_alwayslog_debuglog_detachlog_faillog_infolog_levellog_warnloggernamenozzleoptional_dependenciesprocessreadread1required_dependenciesreverserunsourcesuperinit
CipherUnit: