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

Modify pairings API to support various serialization formats #16680

Closed
Tracked by #13316
lpetrovic05 opened this issue Nov 20, 2024 · 0 comments
Closed
Tracked by #13316

Modify pairings API to support various serialization formats #16680

lpetrovic05 opened this issue Nov 20, 2024 · 0 comments
Assignees
Labels
Platform Tickets pertaining to the platform

Comments

@lpetrovic05
Copy link
Member

lpetrovic05 commented Nov 20, 2024

Pairings elements will need to be serialized to various formats. The API should allow for different serialization options. The following data should be exposed:

  • Field elements:
    • Just a number, as a byte array (big endian)
  • Group elements:
    • Zero element boolean
    • X coordinate (big endian)
    • Y coordinate (big endian)
    • Is Y negative boolean

Also deprecate the toBytes and fromBytes methods.

@lpetrovic05 lpetrovic05 added the Platform Tickets pertaining to the platform label Nov 20, 2024
@lpetrovic05 lpetrovic05 self-assigned this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform Tickets pertaining to the platform
Projects
None yet
Development

No branches or pull requests

2 participants