simbiose / Encryption

Encryption is a simple way to encrypt and decrypt strings on Android and Java project.
MIT License
354 stars 79 forks source link

Equivalent default build encryption in OpenSSL #28

Open joaoeudes7 opened 3 years ago

joaoeudes7 commented 3 years ago

Hi, I tried to use the openssl tool for encrypt according to the standard build of this library, but I was not successful, could you help me? Maybe I'm not going wrong IV, because in the library it only accepts 16 bytes after converting to byteArray

I try: openssl aes-128-cbc -e -pbkdf2 -salt -S "----------------" -iv "--------------------------------" -iter 1 -in ./tls_key_original.key -out tls_openssl.key -pass pass:"----------------" -base64