ZcashFoundation / redjubjub

A minimal RedJubjub implementation for use in Zebra.
Other
27 stars 21 forks source link

Format `Signature` and other types as hex in Debug implementation #155

Open teor2345 opened 1 year ago

teor2345 commented 1 year ago

Currently redjubjub formats Signature as an array of integers, which makes signatures hard to debug:

[39, 102, 7, 25, ... ]

Most cryptographic libraries format their types as a hexadecimal string.

This impacts the following types:

You can see an example of these changes for redpallas in: