From f6f305317a34728bc22ef6952a299be930d13b37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henryk=20Pl=C3=B6tz?= Date: Fri, 26 Feb 2010 02:25:24 +0100 Subject: [PATCH] There doesn't seem to be RC5/IDEA (any more? only in my copy?) --- crypto_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto_utils.py b/crypto_utils.py index 59f0fba..ac524e1 100644 --- a/crypto_utils.py +++ b/crypto_utils.py @@ -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: