-
Notifications
You must be signed in to change notification settings - Fork 1.2k
webcrypto #27
Comments
I'd definitively interested in helping, although I'm not sure where to start. |
@autoit4you we need to create a interface that hopefully takes the most from the overlap of both worlds and then make a shim for the remaining calls that differ from both implementations. One thing to have in mind is that WebCryptoAPI is promises based, while the Node.js Crypto module is callback based (for now), so we will need to define both interfaces too |
Not sure if it helps, but I've found Bluebird's
And
To be very useful and easy ways to automatically create promises from functions that take callbacks... (though they don't work with all libs). |
Getting everything more organised, moving libp2p endeavours to js-libp2p, new issue can be found at - libp2p/js-libp2p#4 |
webcrypto
https://github.com/diasdavid/webcrypto
WebCryptoAPI polyfil to work in Node.js in the Browser (so that you don't have to be concerned about moving crypto code between a browser and server side app)
Context: nodejs/node#2833
How can you help
The text was updated successfully, but these errors were encountered: