Saturday, November 24, 2012

Encrypt a file using bash shell script

openssl des3 -salt -in /pritom/input.sql -out /pritom/output.pk -pass pass:pritom
 
where:
 /pritom/input.sql is the input file
 /pritom/output.pk is encrypted output file
 -pass pass: pritom (pritom is used as password) 

No comments:

Post a Comment