current position:Home>Bitcoin public key principle

Bitcoin public key principle

2022-02-03 05:21:51 mo_ seele

Principle of bitcoin seeking public key

Beginners , Specific tasks need to be improved

The principle of bitcoin public key is :

Q=kP

spot P It's called the base point (base point) , And it is user-defined ; k For private key (private key), And randomly generated ;Q For public key (public key), And get .

Match the private key to the generation point P Multiply to get the public key Q (Q For a point ):

This point (x3,y3) The solution is as follows :

P、Q It's an elliptic curve :y2=ax3+ bx^2+cx+d Two points on the

image-20211216105215004

The specific calculation value is :

image-20211216110503529

Bitcoin system secp256k1 in , Parameter is

p = 0xFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE FFFFFC2F = 2^256 − 2^32 − 2^9 − 2^8 − 2^7 − 2^6 − 2^4 − 1

a = 0, b = 7

G=(0x79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798, 0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8)

n = 0xFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE BAAEDCE6 AF48A03B BFD25E8C D0364141

h = 01

copyright notice
author[mo_ seele],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202030521498788.html

Random recommended