all InfoSec news
Encrypt your Local Storage data!
DEV Community dev.to
Before going further I would suggest you first check out my article on the prototypes. Yes, we will be using the prototype concept to add our custom encryption functions to the local storage API. Let's see how we can achieve this.
The localStorage function is available globally on the browser's window object. And if you have ever noticed, this function has the type Storage.
If you check the function definition you will notice that this Storage is an interface. …
api article beginners browser check concept data encrypt encryption frontend function functions javascript local localstorage object prototype storage webdev yes