You are reading a single comment by @Wilberforce and its replies.
Click here to read the full conversation.
-
Sure.
I was hoping that a require("crypto") would look for a native install first, and then look in modules on espruino site.
Does it not work this way?
The other thing I tried and could quite pull off was using a require("path to github raw") and then attempted to add that to the modules cache, so that a later require("crypto") would find the module already loaded.
Nice - thanks for posting it up!
We just need to find a nice way of adding it such that it doesn't interfere with the in-built crypto library on other boards.