diff --git a/ch04.asciidoc b/ch04.asciidoc index bff21cf1..22cb2148 100644 --- a/ch04.asciidoc +++ b/ch04.asciidoc @@ -874,32 +874,6 @@ wrapper } ---- -===== Encode from hex to Base58Check - -To encode into Base58Check (the opposite of the previous command), we -use the +base58check-encode+ command from Bitcoin Explorer (see -<>) and provide the hex private key, followed by the WIF -version prefix 128: - ----- -bx base58check-encode 1e99423a4ed27608a15a2616a2b0e9e52ced330ac530edcc32c8ffc6a526aedd --version 128 -5J3mBbAH58CpQ3Y5RNJpUKPE62SQ5tfcvU2JpbnkeyhfsYB1Jcn ----- - -===== Encode from hex (compressed key) to Base58Check - -To encode into Base58Check as a "compressed" private key (see -<>), we append the suffix +01+ to the hex key and then encode -as in the preceding section: - ----- -$ bx base58check-encode 1e99423a4ed27608a15a2616a2b0e9e52ced330ac530edcc32c8ffc6a526aedd01 --version 128 -KxFC1jmwwCoACiCAWZ3eXa96mBM6tb3TYzGmf6YwgdGWZgawvrtJ ----- - -The resulting WIF-compressed format starts with a "K." This denotes that -the private key within has a suffix of "01" and will be used to produce -compressed public keys only (see <>). ===== Public key formats