From 675bc29a6b426c1485bd5705683de64f0d1c7188 Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 26 Jan 2021 11:00:22 +0000 Subject: Added decode.sh and encode.sh. --- encode.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 encode.sh (limited to 'encode.sh') diff --git a/encode.sh b/encode.sh new file mode 100755 index 0000000..900e5ae --- /dev/null +++ b/encode.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +if [ ! "$2" ] ; then + echo $0: usage $0 infile outfile + exit 1 +fi + +openssl enc -aes-256-cbc -in "$1" -out "$2" -- cgit v1.2.3