man openssl

man enc

openssl enc -aes-128-cbc -e -in plain.txt -out cipher.bin -K 00112233445566778889aabbccddeeff -iv 0102030405060708;
The key (-K) and IV (-iv) to be used are also specified, expressed in hexadecimal.
Openssl does provide an option "-nopad", in this case, the padding is not removed.

----------------------------------------------------------------------------------------------------------------------------
Extra Commands:

To view files as characters.
hexdump -c decryptext.txt or xxd decryptext.txt

To view file as hexadecimals(4bits)
hexdump decryptext.txt

To get 54B from plain.bmp and remaining bytes after 54 from cipher.bmp and concatenate it to new.bmp  
"head -c 54 plain.bmp > header" ; "tail -c +55 cipher.bmp > body" ; "cat header body > new.bmp"
Run this (After editing): 
openssl enc -aes-128-cfb -e -in original.bmp -out original-aes-128-cfb.bin -K 00112233445566778889aabbccddeeff -iv 0102030405060708; head -c 54 original.bmp > header; tail -c +55 original-aes-128-cfb.bin > body ; cat header body > new-cfb.bmp

man dgst
openssl dgst -h