Monday, 2 December 2013

How to use a console for encryption and decryption

Hey peeps, 
I am sure you might have some data like password that you want that no one should know . Here's a trick to by which you will have your secret message saved on your computer but will be encrypted i.e a non-technical person would not come to know . 

All you need is a browser ! Shocking isn't it?

All is done in the console of the browser. Firstly you need to open the console.
Here are the steps:

1. Open your browser.
2. Press CTRL+SHIFT+J
3. A new window will get open.
4.Click on Console link.

It will look something like this :














Then you will need two in-built functions:
1. btoa("string") - To encrypt.
2. atob("string") - To decrypt.

For eg. 

btoa("Secretmsg");

Then you will get a encrypted msg like  w2t16sur8iw7$7

To decrypt  type atob("w2t16sur8iw7$7");



Thanks for reading. 
Hope this will help you secure your data.
A lot more coming,
Stay Tuned.

No comments:

Post a Comment