Hacker News new | ask | show | jobs
by egeozcan 3170 days ago
This has a native part written in c and only runs on node.js v8 and up, according to the package.json.
2 comments

So it is "bindings", but not a "port"?
The C components are just a few emscripten compiled curve25519-donna and ed25519 functions for elliptic curve routines. It comes directly from the web library without any alteration. Honestly I was surprised at how well it works and the performance isn't too shabby. I did several investigations of replacing it with libsodium and others but the the emscripten builds have been pretty reliable for us..