https://security.stackexchange.com/questions/29106/openssl-recover-key-and-iv-by-passphrase
Following code steal from [Simple python functions that provide openssl -aes-256-cbc compatible encrypt/decrypt] (http://joelinoff.com/blog/?p=885)
# ================================================================
# get_key_and_iv