Sometimes you need to send a file containing sensitive information across to someone over internet and you started thinking, I have got some pretty sensitive information in the file. How can I send it securely?" There are many ways to send encrypted files. A good way for encrypting files is using a long password with GPG tool.
before this article,we recommend to you must read our
Step 1 :Here i protect Password.txt file which is located on my Desktop.
cd Desktop
ls
gpg -c Password.txt
Step 2 : Enter your password for protect file.
Step 3 :Now Original file should be delete.
Step 4 :Keep Copy file and rename it from original file name.
Step 5 : Open the file and check it !
Step 6 : Read it file on Terminal.
cat Password.txt
Step 7 : Now Decrypt it from gpg command.
Step 8 : Enter Password and Save file from another name.
Step 9 : Check the decrypt file from cat command on terminal.