diff options
author | Ian C <ianc@noddybox.co.uk> | 2021-01-26 11:00:22 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2021-01-26 11:00:22 +0000 |
commit | 675bc29a6b426c1485bd5705683de64f0d1c7188 (patch) | |
tree | d5b436a7b4849c2c4e994642ce6e76b6d425bafd /decode.sh | |
parent | 77fdd09c6ddfe1da011b1808141e58a0fad0c54a (diff) |
Added decode.sh and encode.sh.
Diffstat (limited to 'decode.sh')
-rwxr-xr-x | decode.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/decode.sh b/decode.sh new file mode 100755 index 0000000..34c45a1 --- /dev/null +++ b/decode.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +if [ ! "$2" ] ; then + echo $0: usage $0 infile outfile + exit 1 +fi + +openssl enc -d -aes-256-cbc -in "$1" -out "$2" |