I am trying to encrypt a text file with openssl
using aes-128-cbc
encryption and I was wondering if there was a way I could encrypt it only using the key and not the iv?
Everytime I try to run:
openssl enc -aes-128-cbc -e -in dummy_file.txt -out dummy.aes-128-cbc.bin -K 00112233445566778889aabbccddeeff
I get the error saying iv undefined
and the encrypted file it generates is empty and it is not even a binary file.