samedi 3 mai 2014

Encrypt Store or fields inside store. SJCL or CryptoJS

Hi all!

Within the context of the store I need to secure some fields (password, username and session token). I have searching and I have got that Sencha does not provide any encryption capability, but that can be done by external libraries. Googling I have found these 2, SJCL and the CryptoJS, but I can't find any case of use, so I don't really even know how to import the library into my project. Have you ever used these libraries? How can I import them into my project?


As a side question, for creating a Hash and encrypting I will need a code, so how could I store this code securely within the app?? Since it is js, all the source code will be exposed on the client side...


Thanks for your help!





Aucun commentaire:

Enregistrer un commentaire