How To Encrypt And Decrypt Files With A Password using GPG


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

Metasploit Tutorials From Basic to Advance


Lets start with How To Encrypt And Decrypt Files With A Password using GPG

Step 1 :Here i protect Password.txt file which is located on my Desktop.

cd Desktop

ls

gpg -c Password.txt

How To Encrypt And Decrypt Files With A Password using GPG


Step 2 : Enter your password for protect file.


How To Encrypt And Decrypt Files With A Password using GPG


Step 3 :Now Original file should be delete.


How To Encrypt And Decrypt Files With A Password using GPG


Step 4 :Keep Copy file and rename it from original file name.


How To Encrypt And Decrypt Files With A Password using GPG


Step 5 : Open the file and check it !


How To Encrypt And Decrypt Files With A Password using GPG


Step 6 : Read it file on Terminal.

cat Password.txt

How To Encrypt And Decrypt Files With A Password using GPG


Step 7 : Now Decrypt it from gpg command.


How To Encrypt And Decrypt Files With A Password using GPG


Step 8 : Enter Password and Save file from another name.


How To Encrypt And Decrypt Files With A Password using GPG


Step 9 : Check the decrypt file from cat command on terminal.


How To Encrypt And Decrypt Files With A Password using GPG


For References :-




I hope you enjoyed this article.


Sharing is caring

google
linkedin

About Author

Akash is a co-founder and an aspiring entrepreneur who keeps a close eye on open source, tech giants, and security. Get in touch with him by sending an email (akashchugh1994@gmail.com).


You may also like :-




Leave a Comment

Your email address will not be published. Required fields are marked *




Popular Posts

Who Should Read TechTrick?

All the tricks and tips that TechTrick provides only for educational purpose. If you choose to use the information in TechTrick to break into computer systems maliciously and without authorization, you are on your own. Neither I (TechTrick Admin) nor anyone else associated with TechTrick shall be liable. We are not responsibe for any issues that caused due to informations provided here. So, Try yourself and see the results. You are not losing anything by trying... We are humans, Mistakes are quite natural. Here on TechTrick also have many mistakes..