Hi,
I know I can encrypt a string using a password with sjcl.encrypt() and decrypt using sjcl.decrypt(), but can I just verify the password to decrypt a string is correct first so then if it is correct, I can go ahead and decrypt and if it's not, I go ahead and spit out an error message?
Thanks.
Hey guys, I'll need to save some sensitive data on client side in localstorage.
I've been wondering what's the best I can do about that and sjcl seems to be a good idea.
I know there's no perfect security, I just want to do the best possible :)
That said, is sjcl.encrypt enough? Is there a better configuration to make it harder to brute force or find with other ways?