Score:3

Elliptic Curve how to calculate y value

vn flag

I have been reading the book Mastering Bitcoin written by Andreas. It was the process of compressing public keys that hurt my mind. Specifically, a public key after being generated from a private key fundamentally comprises the resulting coordination of x and y.

The book said that since y value can be gained from x via the function: $$y^2\bmod p=(x^3 + 7)\bmod p$$We can reduce the size by just storing the x with the sign value.

While I understood how point addition in Elliptic Curve works, I could not understand how to find y given an x and p value? For example: $y^2 \bmod p = (10^3 + 7) \bmod 19$

Thank you very much in advance, this is a very new topic to me and hopefully I can learn more from you guys.

kelalaka avatar
in flag
Does this answer your question? [Is it possible to compute the y-coordinate of a point on SECP256K1, given only the x-coordinate](https://crypto.stackexchange.com/questions/82027/is-it-possible-to-compute-the-y-coordinate-of-a-point-on-secp256k1-given-only-t) Just a little search and found it since I remember such question.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.