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

Implement new_from_x for AffinePoint to create a new point from compressed representation. #115

Closed
wants to merge 4 commits into from

Conversation

FilipLaurentiu
Copy link
Contributor

Pull Request type

  • Feature

What is the current behavior?

AffinePoint can't be created just from the X coordinate

What is the new behavior?

AffinePoint can be created from the X coordinate and the parity bit

  • if the parity bit is 0, choose the y-coordinate with even parity.
  • If the parity bit is 1, choose the y-coordinate with odd parity.

Does this introduce a breaking change?

No

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

Successfully merging this pull request may close these issues.

1 participant