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

matlab - Deleting rows with specific rules -

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