code: function ECDSA({ x, y, d }) {
    if (x.length !== curveLength) throw new TypeError('Public EC Key point X of wrong length')
    if (y.length !== curveLength) throw new TypeError('Public EC Key point Y of wrong length')
  
    this.x = x
    this.y = y
    this.publicCodePoint = Buffer.concat([Buffer.from([0x04]), x, y])
    if (d) {
      this.d = d
      this.isPrivate = true
    } else {
      this.isPrivate = false
    }
  }
docs: /* ========================================================================== *
  CLASS DEFINITION                                                           *
  ==========================================================================