Module refinery.units.crypto.cipher.rc2

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

from . import StandardBlockCipherUnit


class rc2(StandardBlockCipherUnit, cipher=ARC2):
    """
    RC2 encryption and decryption.
    """
    pass

Classes

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

RC2 encryption and decryption.

Expand source code Browse git
class rc2(StandardBlockCipherUnit, cipher=ARC2):
    """
    RC2 encryption and decryption.
    """
    pass

Ancestors

Class variables

var blocksize
var key_sizes

Inherited members