There doesn't seem to be RC5/IDEA (any more? only in my copy?)
parent
e960c92fbd
commit
f6f305317a
|
@ -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…
Reference in New Issue