Module refinery.units.crypto.cipher.des3

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

from . import StandardBlockCipherUnit


class des3(StandardBlockCipherUnit, cipher=DES3):
    """
    3-DES encryption and decryption.
    """
    pass

Classes

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

3-DES encryption and decryption.

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

Ancestors

Class variables

var blocksize
var key_sizes

Inherited members