-
• #2
Hi Tobbe,
You can try that library, but I think you'll find that it might be too big for Espruino.
There was a good forum post on it here: http://forum.espruino.com/conversations/267841/
I just realised there wasn't actually a usable implementation there - so if you look at the end I've posted up the JS implementation, tweaked to work with Espruino.
-
• #3
Too big in what way? Minified it's 19kb, so storage-wise it'll fit.
But thanks for your TEA-implementation, I'll use that :)
-
• #4
Oh wow, that's great. Sorry - I looked at the GitHub and saw a bunch of files. I didn't realise it minified down so well!
It'd be really interesting to give that a try actually.
I'd like to encrypt a string with a secret key, that I can later use to also decrypt the string.
What options do we have for that on the Pico? Would this work? http://bitwiseshiftleft.github.io/sjcl/