How can I decrypt something with PyCrypto that was encrypted using OpenSSL?
I have several strings that were encrypted using OpenSSL. For instance: $ echo "original string" | openssl aes-256-cbc -p -a -pass pass:secret salt=B898FE40EC8155FD key=4899E518743EB0584B0811AE559ED8AD9F0B5FA31B0B998FEB8453B8E3A7B36C iv =EFA6105F30F6C462B3D135725A6E1618 U2FsdGVkX1+4mP5A7IFV/VcgRs4ci/yupMErHjf5bkT5XrcowXK7z3VyyV1l2jvy I would like to decrypt these things using Python. I'm attempting to use PyCrypto. Here's an exmaple script using the above data: from base64 import b64decode, b64encode from hashlib import md5 from Crypto.Cipher import AES secret = 'secret' encoded = 'U2FsdGVkX1