paulmillr / noble-curves

Audited & minimal JS implementation of elliptic curve cryptography.
https://paulmillr.com/noble
MIT License
623 stars 56 forks source link

fix: validate hash_to_field DST as stringOrUint8Array (closes #57) #58

Closed sublimator closed 1 year ago

sublimator commented 1 year ago

No other ORed types in the validator list yet. I suppose you could support some kinda operations for validators, but this KISS Went with a generic name, so it can be reused for hexOrBytes too