Post
Topic
Board Development & Technical Discussion
Merits 4 from 2 users
Re: public key to mnemonic
by
o_e_l_e_o
on 05/12/2020, 19:04:00 UTC
⭐ Merited by pooya87 (2) ,ETFbitcoin (2)
Why don't we call them negatives or positives?
Because in finite fields there is no such thing as a negative or positive.

Does the computer chooses it randomly?
No. When you turn a private key in to a public key, you get exactly one point on the curve, which has exactly one x coordinate and one y coordinate. However, for every x coordinate, there are two possible y coordinates, so when you compress your public key down to just the x coordinate, you specific which y coordinate is the correct one.

What is p?
The field size, which for the secp256k1 curve bitcoin uses is 2256 – 232 - 29 - 28 - 27 - 26 - 24 - 1.