From eeffda858393c0da6cd37236356137310af5d4b9 Mon Sep 17 00:00:00 2001 From: claylock Date: Fri, 27 Oct 2023 12:45:26 +0000 Subject: [PATCH] Edited ch04_keys.adoc with Atlas code editor --- ch04_keys.adoc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ch04_keys.adoc b/ch04_keys.adoc index cc5f138b..407ed49c 100644 --- a/ch04_keys.adoc +++ b/ch04_keys.adoc @@ -825,6 +825,12 @@ the software to correctly deduce the _y_ coordinate from the _x_ coordinate and uncompress the public key to the full coordinates of the point. Public key compression is illustrated in <>. + +[[pubkey_compression]] +.Public key compression +image::images/mbc3_0408.png["pubkey_compression"] + + Here's the same public key generated in <>, shown as a compressed public key stored in 264 bits (66 hex digits) with the prefix +03+ indicating the _y_ coordinate is odd: @@ -845,9 +851,7 @@ key can produce a public key expressed in two different formats addresses. However, the private key is identical for both Bitcoin addresses. -[[pubkey_compression]] -.Public key compression -image::images/mbc3_0408.png["pubkey_compression"] + Compressed public keys are now the default in almost all Bitcoin software and were required when using certain new features added