paulmillr / noble-ed25519

Fastest 4KB JS implementation of ed25519 signatures
https://paulmillr.com/noble
MIT License
420 stars 51 forks source link

Add RistrettoPoint.toString() method #56

Closed dsernst closed 2 years ago

dsernst commented 2 years ago

This adds .toString() as an alias of .toHex(), so that points can be automatically stringified when passed to console.log(), or .join() over an array of them, etc.