Module refinery.units.crypto.cipher.aes

Expand source code Browse git
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from Crypto.Cipher import AES

from . import StandardBlockCipherUnit


class aes(StandardBlockCipherUnit, cipher=AES):
    """
    AES encryption and decryption.
    """
    pass

Classes

class aes (key, iv=b'', padding=None, mode=None)

AES encryption and decryption.

Expand source code Browse git
class aes(StandardBlockCipherUnit, cipher=AES):
    """
    AES encryption and decryption.
    """
    pass

Ancestors

Class variables

var blocksize
var key_sizes

Inherited members