1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-12-22 14:48:09 +00:00

Omit 0 from private key range

Changed to remove 0 from the private key range, as 0 is invalid.
This commit is contained in:
D++ 2024-01-28 13:43:03 -08:00 committed by GitHub
parent 6d1c26e164
commit 2641f10b2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -121,7 +121,7 @@ or repeatable. Bitcoin software uses cryptographically secure random
number generators to produce 256 bits of entropy.
[role="less_space pagebreak-before"]
More precisely, the private key can be any number between 0 and _n_ -
More precisely, the private key can be any number between 1 and _n_ -
1 inclusive, where _n_ is a constant (_n_ = 1.1578 × 10^77^, slightly less
than 2^256^) defined as the order of the elliptic curve used in Bitcoin
(see <<elliptic_curve>>). To create such a key, we randomly pick a