- Use GNU gpg command
- Use mcrypt command
- Use openssl command
gpg Command
To encrypt and decrypt files with a password, use gpg command.
To encrypt single file:
gpg -c filenameThis will ask for the pass-phrase and will create
filename.gpg.To decrypt file use gpg command:
gpg filename.gpg To decrypt a file and write output to file output.txt you can run command:
gpg filename.gpg –o output.txt
No comments:
Post a Comment