#!/bin/sh

# encryption instructions:
# put the message to be encrypted into plain.txt, then:
# openssl enc -aes-256-cbc -salt -base64 -in plain.txt
# then, replace "base64 ciphertext here" with the encrypted output.

echo -n '
base64
ciphertext
here
' | openssl enc -d -base64 -aes-256-cbc | cat -v
echo ""

# note: cat -v and the last echo line are to prevent the mangled output
# of a bad decrypt from messing up the terminal
