#!/bin/bash
#M decryptfile  decrypt a file with password
# Syntax: decryptfile.sh file-to-encrypt password
openssl aes-256-cbc -d -a -k $2 -in $1.enc -out $1
