bitcoinj / secp256k1-jdk

Java library providing Bitcoin-related Elliptic Curve Cryptography
Apache License 2.0
9 stars 3 forks source link

type (interface) for schnorrSig and maybe for hash/taggedHash #78

Open msgilligan opened 2 months ago

msgilligan commented 2 months ago

It would be nice to have stronger types for these values, rather than using byte[]. Not only will this make a safer API, but will also allow us to add helpful .toString() methods.

msgilligan commented 1 month ago

PR #85 takes some steps in his direction, but needs more work.