Module crypto not found #514
Replies: 8 comments
-
Posted at 2015-12-14 by d0773d I wasn't sure if that code would work as is so I commented out all that code and just wrote:
I'm still receiving
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-12-14 by @gfwilliams As an orange warning? If so, it may still work - it would just be that the web IDE doesn't understand that the board contains the library. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-12-14 by d0773d @gordon yes, the error is an orange warning. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-12-14 by @gfwilliams So does the code you uploaded still work? You should be able to just ignore that warning. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-12-14 by d0773d @gordon below is the code that I am now demoing out. The console says Done however, I don't see(know of) any of the test functions execute.
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-12-14 by @gfwilliams I'm not really sure what you're expecting - the code doesn't print anything unless there's an error. If you added some print statements to the code then you'd see something. Try changing
Or even just copy/paste some of the commands out and try running them on Espruino's console. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-12-14 by @gfwilliams ... or look at |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-12-14 by d0773d @gordon That is exactly what I was expecting... Each test function output something so I can see the crypto in action. I was able to see all of the test functions execute. OUTPUT:
Now to utilize the crypto module for my real life project :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-12-14 by d0773d
I'm trying to implement aes in my project by reading the test_crypto.js file. However, I am getting Module crypto not found. I'm using the 1v84 firmware. Is there a custom firmware that I should be using instead?
code:
Beta Was this translation helpful? Give feedback.
All reactions