Local Storage + Encrypt



I have read that SJCL is not secure and is open to attacks. If I use similar code to the encrypt sample can I assume that doing so together with a strong password with local storage is a secure combination? Surely somebody knows someone who is succesfully using such a web app and having no security concerns?

Maybe I should also (in addition to the above?) use php which serves the web pages produced from NSBasic Appstudio, together with obfuscating any .js files?

I’ve read that server-based encryption is also prone to hackers puts me off considering that!.

Obviously happy to put the hours into looking at this, but wondered what people’s opinions suggest, as a guide.

Any thoughts, please?!