You are reading a single comment by @andrewg_oz and its replies. Click here to read the full conversation.
  • OK, this is weird. My Bangle 2 has my app loaded via the App Loader. If I connect the IDE to the Bangle and run "authentiwatch.app.js" from the device storage, then the SHA256/512 functions are missing:

    c=require("crypto")
    ={
      SHA1: function (b) { ... }
     }
    >c.SHA512
    =undefined
    >c.SHA1
    =function (b) { ... }
    

    However, if I click the "Send to Espruino" with RAM selected, the SHA256/512 functions suddenly exist!

    c=require("crypto")
    =function () { [native code] }
    >c.SHA512
    =function () { [native code] }
    >c.SHA1
    =function () { [native code] }
    
About

Avatar for andrewg_oz @andrewg_oz started