Skip to content

Normalise projective coordinate #125

Answered by paulmillr
pke asked this question in Q&A
Mar 4, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

If you have byte array (or hex) in sharedSecret, simply doing Point.fromHex() would create normalized z=1 point.

If you have actual Point instance, then yes, your code.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@pke
Comment options

@paulmillr
Comment options

Answer selected by pke
@pke
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants