According to this answer: https://bitcoin.stackexchange.com/a/63996/100526
When he wants to generate a public key
from the private key
, he has used K=k*G
. but I can't understand it's result.
If we assume our private key
is (according to the answer) :
0F479245FB19A38A1954C5C7C0EBAB2F9BDFD96A17563EF28A6A4B1A2A764EF4
and according to Secp256k1
G
point is:
- Compressed form (prefix 02)
02 79BE667E F9DCBBAC 55A06295 CE870B07 029BFCDB 2DCE28D9 59F2815B 16F81798
- Uncompressed form (prefix 04)
04 79BE667E F9DCBBAC 55A06295 CE870B07 029BFCDB 2DCE28D9 59F2815B 16F81798
483ADA77 26A3C465 5DA4FBFC 0E1108A8 FD17B448 A6855419 9C47D08F FB10D4B8
So to calculate the public key I used this site: https://www.boxentriq.com/code-breaking/big-number-calculator
I used compressed form
and private key
:
0279BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798
* 0F479245FB19A38A1954C5C7C0EBAB2F9BDFD96A17563EF28A6A4B1A2A764EF4
and result is :
25d355ebb23e6ce0fd5463bf40e6da2ccc4e2e8ce654db6a8a8e5a275f0d2266005569112cfda60d14f9b6d0c0218cc072047a3b2fcf97aee95a437b4bb6cce0
but in that answer the result is :
02E8445082A72F29B75CA48748A914DF60622A609CACFCE8ED0E35804560741D29
what's wrong?