mirror of https://github.com/zcash/zips.git
ZIP 32: fixes https://github.com/zcash/zcash/issues/4641
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
c25fc6e899
commit
60db5fe85d
|
@ -624,11 +624,15 @@ License: MIT</pre>
|
||||||
of a hierarchical deterministic wallet is given by:</p>
|
of a hierarchical deterministic wallet is given by:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<span class="math">\(\mathsf{BLAKE2b}\text{-}\mathsf{256}(\texttt{“Zcash_HD_Seed_FP”}, S)\)</span>
|
<span class="math">\(\mathsf{BLAKE2b}\text{-}\mathsf{256}(\texttt{“Zcash_HD_Seed_FP”},\)</span>
|
||||||
|
<span class="math">\([\texttt{0x20}]\,||\,S)\)</span>
|
||||||
.</li>
|
.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>It MAY be used to uniquely identify a particular hierarchical deterministic wallet.</p>
|
<p>It MAY be used to uniquely identify a particular hierarchical deterministic wallet.</p>
|
||||||
<p>No corresponding short tag is defined.</p>
|
<p>No corresponding short tag is defined.</p>
|
||||||
|
<p>Note: a previous version of this specification did not have the
|
||||||
|
<span class="math">\(\texttt{0x20}\)</span>
|
||||||
|
byte prefixing the seed. The current specification reflects the implementation in <cite>zcashd</cite>.</p>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
<section id="specification-key-encodings"><h2><span class="section-heading">Specification: Key Encodings</span><span class="section-anchor"> <a rel="bookmark" href="#specification-key-encodings"><img width="24" height="24" src="assets/images/section-anchor.png" alt=""></a></span></h2>
|
<section id="specification-key-encodings"><h2><span class="section-heading">Specification: Key Encodings</span><span class="section-anchor"> <a rel="bookmark" href="#specification-key-encodings"><img width="24" height="24" src="assets/images/section-anchor.png" alt=""></a></span></h2>
|
||||||
|
|
|
@ -410,12 +410,15 @@ Seed Fingerprints
|
||||||
|
|
||||||
A "seed fingerprint" for the master seed :math:`S` of a hierarchical deterministic wallet is given by:
|
A "seed fingerprint" for the master seed :math:`S` of a hierarchical deterministic wallet is given by:
|
||||||
|
|
||||||
* :math:`\mathsf{BLAKE2b}\text{-}\mathsf{256}(\texttt{“Zcash_HD_Seed_FP”}, S)`.
|
* :math:`\mathsf{BLAKE2b}\text{-}\mathsf{256}(\texttt{“Zcash_HD_Seed_FP”},`:math:`[\texttt{0x20}]\,||\,S)`.
|
||||||
|
|
||||||
It MAY be used to uniquely identify a particular hierarchical deterministic wallet.
|
It MAY be used to uniquely identify a particular hierarchical deterministic wallet.
|
||||||
|
|
||||||
No corresponding short tag is defined.
|
No corresponding short tag is defined.
|
||||||
|
|
||||||
|
Note: a previous version of this specification did not have the :math:`\texttt{0x20}` byte prefixing the seed.
|
||||||
|
The current specification reflects the implementation in `zcashd`.
|
||||||
|
|
||||||
|
|
||||||
Specification: Key Encodings
|
Specification: Key Encodings
|
||||||
============================
|
============================
|
||||||
|
|
Loading…
Reference in New Issue