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

henryk_github
Henryk Plötz 13 years ago
parent e960c92fbd
commit f6f305317a
  1. 2
      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:

Loading…
Cancel
Save