nbd-wtf / dart-bip340

naïve implementation of BIP-340 Schnorr Signatures in Dart
MIT License
14 stars 10 forks source link

fix: pad left bytes #6

Closed ryzizub closed 1 year ago

ryzizub commented 1 year ago

@fiatjaf the byte array should be padded with 0 zeros at beginning. This was a reason why this library was failing on signatures where private key have public key with 0's at beginning

Fixes #5