Package Crypto :: Package Cipher :: Module DES :: Class DESCipher
[frames] | no frames]

Class DESCipher

blockalgo.BlockAlgo --+
                      |
                     DESCipher

DES cipher object
Instance Methods
 
__init__(self, key, *args, **kwargs)
Initialize a DES cipher object
    Inherited from blockalgo.BlockAlgo
 
decrypt(self, ciphertext)
Decrypt data with the key and the parameters set at initialization.
 
encrypt(self, plaintext)
Encrypt data with the key and the parameters set at initialization.
Method Details

__init__(self, key, *args, **kwargs)
(Constructor)

 

Initialize a DES cipher object

See also new() at the module level.

Overrides: blockalgo.BlockAlgo.__init__