There doesn't seem to be RC5/IDEA (any more? only in my copy?)

Henryk Plötz 2010-02-26 02:25:24 +01:00
parent e960c92fbd
commit f6f305317a
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ def cipher(do_encrypt, cipherspec, key, data, iv = None):
"""Do a cryptographic operation.
operation = do_encrypt ? encrypt : decrypt,
cipherspec must be of the form "cipher-mode", or "cipher\""""
from Crypto.Cipher import DES3, DES, AES, IDEA, RC5
from Crypto.Cipher import DES3, DES, AES
cipherparts = cipherspec.split("-")
if len(cipherparts) > 2: