compatibility fix for pycrypto>=2.1.0 (removal of IDEA and RC5)