mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 17:56:16 +00:00
Take remainder from the curve's prime instead of G
Instances of `point( ( key + i ) % G )` should read `point( (key + i) % p )`
This commit is contained in:
parent
9e3d55b562
commit
f741ed7cb9
1 changed files with 3 additions and 3 deletions
|
@ -429,11 +429,11 @@ existing [(parent) public key][/en/glossary/parent-key]{:#term-parent-public-key
|
||||||
integer (*i*) value. This child public key is the same public key which
|
integer (*i*) value. This child public key is the same public key which
|
||||||
would be created by the `point()` function if you added the *i* value to
|
would be created by the `point()` function if you added the *i* value to
|
||||||
the original (parent) private key and then found the remainder of that
|
the original (parent) private key and then found the remainder of that
|
||||||
sum divided by a global constant used by all Bitcoin software (*G*):
|
sum divided by a global constant used by all Bitcoin software (*p*):
|
||||||
|
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
||||||
point( (parent_private_key + i) % G ) == parent_public_key + point(i)
|
point( (parent_private_key + i) % p ) == parent_public_key + point(i)
|
||||||
|
|
||||||
{% autocrossref %}
|
{% autocrossref %}
|
||||||
|
|
||||||
|
@ -451,7 +451,7 @@ operations:
|
||||||
|
|
||||||
{% endautocrossref %}
|
{% endautocrossref %}
|
||||||
|
|
||||||
point( (child_private_key + i) % G ) == child_public_key + point(i)
|
point( (child_private_key + i) % p ) == child_public_key + point(i)
|
||||||
|
|
||||||
{% autocrossref %}
|
{% autocrossref %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue