Usage: ./crypto.sh [-d|-e] -i input.cfg -o output.xml
Options:
-d | --decrypt decrypt the default option
-e | --encrypt encrypt
-h | --help this page
-i | --input input file (.cfg)
-o | --output output file (.xml)
Examples:
decrypt with ./crypto.sh -i conf.cfg -o conf.xml
encrypt with ./crypto.sh -e -i conf.xml -o conf.cfg