cslashm / ECPy

Apache License 2.0
36 stars 24 forks source link

ECDSA - Cases where hash length is greater than the curve order length #18

Closed rgeslain-ledger closed 2 years ago

rgeslain-ledger commented 4 years ago

In both the signature and the verification process, the incoming hash must be truncated to the bit length of the curve order (keeping its leading zeroes, if any).