ENCRYPT
openssl enc -aes-256-cbc -salt -pbkdf2 -in photo.jpg -out photo.jpg.enc
DECRYPT
openssl enc -d -aes-256-cbc -pbkdf2 -in photo.jpg.enc -out photo.jpg
This Blog is primarily intended to be a notes-to-self kind of thing. The information contained here is guaranteed to range anywhere from correct to wildly wrong. Use at your own risk. YMMV.