Hi I tried the example at https://www.espruino.com/hmac but on my Ruuvi hashlib is not found. Any idea why? Thanks, Jens
PS: latest version ofespruino
Hi, yes - I'm afraid there's no hashlib implementation compiled into Ruuvitag (or Puck.js for that matter).
Having said that there should be this available: http://www.espruino.com/Reference#l_crypto_SHA256
So you might be able to do something with that?
Thanks Gordon, I'll try that.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem