Elliptic curve cryptography functions for node.js