Module refinery.units.crypto.cipher.cast

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

from . import StandardBlockCipherUnit


class cast(StandardBlockCipherUnit, cipher=CAST):
    """
    CAST encryption and decryption.
    """
    pass

Classes

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

CAST encryption and decryption.

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

Ancestors

Class variables

var blocksize
var key_sizes

Inherited members