Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
teor2345 opened this issue Jan 16, 2023 · 0 comments
Open

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

teor2345 opened this issue Jan 16, 2023 · 0 comments

Comments

@teor2345
Copy link
Contributor

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:

  • Signature
  • VerificationKeyBytes

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant