How to Encrypt and Decrypt Files or Folders using Command Prompt ?
Encrypt and Decrypt Files/Folders using Command Prompt
Encryption
- Encryption is the process of coding an information from a plain text into a cipher text, especially to hide its meaning and is the most common ways that no other person than you can take a look at your data.
- We can use the cipher command to encrypt and decrypt data at the command line.
Steps to Encrypt your file using Command Prompt
- Open ‘cmd‘ from the start menu and change your working directory to the folder where your files are. This can be done by using the “cd”.
E.g. C:\>cd Desktop
C:\>cd specific
- Type
‘cipher /E’
and press Enter. E.g. C:\specific>cipher /E and automatically the command prompt encrypt the files in the folder. - Files in that specific folder will get Encrypted with [OK] written in front of the File name.
Learn Ethical Hacking - Ethical Hacking tutorial - Encrypt File using Command Prompt - Ethical Hacking examples - Ethical Hacking programs
Decryption
- Decryption is also the process of decoding a cipher text into a plain text.
Steps to Decrypt your file using Command Prompt
- As for decryption, the process of encryption is the same, but the only difference is typing cipher /D and automatically the command prompt decrypted the files in the folder.
- Files in that specific folder will be Decrypted With [OK] written in front of the file name.
Learn Ethical Hacking - Ethical Hacking tutorial - Decrypt File using Command Prompt - Ethical Hacking examples - Ethical Hacking programs