UNPKG

@cdottori/ecdsa-node

Version:

fast openSSL-compatible implementation of the Elliptic Curve Digital Signature Algorithm (ECDSA)

13 lines (9 loc) 203 B
var BigInt = require("big-integer"); class Point { constructor (x=BigInt(0), y=BigInt(0), z=BigInt(0)) { this.x = x; this.y = y; this.z = z; } } exports.Point = Point;