cookies - JavaScript Encrypt? -


how hash/encrypt string value in javascript? need mechanism hiding data in localstorage/cookie?

it related security concern want protection data.

there lots of encryption libraries javascript. here's first 1 came on google: http://crypto.stanford.edu/sjcl/

your user can gain access key, won't protect data user. if want hide things user, you'll have encrypt on server , never send key client.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -