Module refinery.units.crypto.cipher.des

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

from . import StandardBlockCipherUnit


class des(StandardBlockCipherUnit, cipher=DES):
    """
    DES encryption and decryption.
    """
    pass

Classes

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

DES encryption and decryption.

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

Ancestors

Class variables

var blocksize
var key_sizes

Inherited members