Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This has a native part written in c and only runs on node.js v8 and up, according to the package.json.


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..




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: