Hi @user83752,
By "standard methods and dependencies" I mean that I can find or write an equivalent function for espruino.
For example on line 60 of index.js on the device sdk , you'll see that crypto.HmacSHA256 is called.
That relies on the 'crypto-js' package (dependency). Instead of calling that, I can call the espruino HMAC module
@Gordon please tell me if my thinking is correct on this.
@user83752 I'll create a repo you can clone to test or do a pr. Its not going to be soon, cause I got other work stuff. But I'll post it here when its ready.
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.
Hi @user83752,
By "standard methods and dependencies" I mean that I can find or write an equivalent function for espruino.
For example on line 60 of index.js on the device sdk , you'll see that
crypto.HmacSHA256
is called.That relies on the 'crypto-js' package (dependency). Instead of calling that, I can call the espruino HMAC module
@Gordon please tell me if my thinking is correct on this.
@user83752 I'll create a repo you can clone to test or do a pr. Its not going to be soon, cause I got other work stuff. But I'll post it here when its ready.
Thanks