I just wrote up these two bash scripts and decided to share them here in the hope that they may be useful to other forum users.
encrypt
#!/bin/bash
#
# Uses /usr/bin/openssl to encrypt a file.
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ] || [ -z "$4" ] || [ ! -z "$5" ]; then
echo "Usage...