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, powered by microcosm.
Report a problem