bash_scripts

Bash scripts
Log | Files | Refs

strong-encrypt.sh (181B)


      1 #!/bin/bash
      2 if [ $# -ge 3 ] ; then
      3 	openssl enc -aes-256-cbc -md sha512 -pbkdf2 -iter $1 -in $2 -out $3 $4
      4 else
      5 	echo -e "Usage: $0 [# of iterations] [in] [out] [-d to decrypt]"
      6 fi