summaryrefslogtreecommitdiff
path: root/encode.sh
blob: 900e5ae660e73a5a37eac9e44dc74886dfb9ef0c (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

if [ ! "$2" ] ; then
    echo $0: usage $0 infile outfile
    exit 1
fi

openssl enc -aes-256-cbc -in "$1" -out "$2"