Decrypting OpenSSL-encrypted file on Android with Java
问题 I'm currently trying to implement file decryption on my Android app. The file will be encrypted on host(Linux) using something like : openssl aes-128-ecb -salt -k $HASH -in somefile.in -out somefile openssl aes-256-cbc -salt -K $HASH -iv $IV -md sha1 -in somefile.in -out somefile openssl aes-256-cbc -d -salt -K $HASH -md sha1 -in somefile.in -out somefile The problem is that, I CANNOT get any of these combinations(128/256, ecb/cbc, salt/nosalt, -K/-k, -md/none) to properly decrypt on Android.