Changed underlying error message to be more concise
Take into account lower PyCrypto versions (<2.1)