@user80424 yes, that sounds like it'd be fine to me. In fact you might find that the bog standard crypto SHA256 does what you want - without the HMAC library: http://www.espruino.com/Reference#l_crypto_SHA256
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@user80424 yes, that sounds like it'd be fine to me. In fact you might find that the bog standard crypto SHA256 does what you want - without the HMAC library: http://www.espruino.com/Reference#l_crypto_SHA256