1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-25 17:38:26 +00:00

Edited ch04_keys.adoc with Atlas code editor

This commit is contained in:
claylock 2023-10-26 19:08:26 +00:00
parent 6bf147c9c1
commit 1e098d10c1

View File

@ -215,7 +215,7 @@ more complex pattern of dots on a unfathomably large grid.
.Elliptic curve cryptography: visualizing an elliptic curve over F(p), with p=17 .Elliptic curve cryptography: visualizing an elliptic curve over F(p), with p=17
image::images/mbc3_0403.png["ecc-over-F17-math"] image::images/mbc3_0403.png["ecc-over-F17-math"]
So, for example, the following is a point P with coordinates (x,y) that So, for example, the following is a point P with coordinates (x, y) that
is a point on the +secp256k1+ curve: is a point on the +secp256k1+ curve:
[source, python] [source, python]
@ -770,7 +770,7 @@ public keys are known as _compressed public keys_, and the original 65-byte keys
results in smaller transactions, allowing more payments to be made in the same results in smaller transactions, allowing more payments to be made in the same
block. block.
As we saw in the section <<public_key_derivation>>, a public key is a point (x,y) on an As we saw in the section <<public_key_derivation>>, a public key is a point (x, y) on an
elliptic curve. Because the curve expresses a mathematical function, a elliptic curve. Because the curve expresses a mathematical function, a
point on the curve represents a solution to the equation and, therefore, point on the curve represents a solution to the equation and, therefore,
if we know the _x_ coordinate, we can calculate the _y_ coordinate by if we know the _x_ coordinate, we can calculate the _y_ coordinate by