setup/ssl/encrypt

9 lines
141 B
Plaintext
Raw Normal View History

2017-01-18 20:51:05 +00:00
#!/bin/sh
if [ $# -lt 2 ]; then
echo "missing arguments {in_file} {out_encrypted}" && exit;
fi;
openssl enc -aes-256-cbc -in $1 -out $2;