ecies/js

Browser-friendly crypto

lastmjs opened this issue · 2 comments

It would be nice to not rely on Node's crypto module, at least when in the browser. As I understand it this project is expecting the user's build tool to polyfill the node crypto library automatically. Not all build tools will do this.

Parceljs looks great, but I'm not sure how to integrate it seamlessly to support both nodejs and browser.

Do you have any insight?

I've released a WASM port on npm. You can install it by npm install ecies-wasm.