You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bip-0085.mediawiki
+9-12Lines changed: 9 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -188,12 +188,7 @@ OUTPUT:
188
188
===HD-Seed WIF===
189
189
Application number: 2'
190
190
191
-
Uses 256 bits of entropy as the secret exponent to derive a private key and encode as a compressed WIF which will be used as the hdseed for Bitcoin Core wallets.
192
-
193
-
There is a very small chance that you'll make an invalid key that is zero or bigger than the order of the curve. If this occurs, software should hard fail (forcing users should iterate to the next index).
194
-
195
-
From BIP32:
196
-
> In case parse<sub>256</sub>(I<sub>L</sub>) is 0 or ≥ n, the resulting key is invalid, and one should proceed with the next value for i. (Note: this has probability lower than 1 in 2<sup>127</sup>.)
191
+
Uses 256 bits[1] of entropy as the secret exponent to derive a private key and encode as a compressed WIF which will be used as the hdseed for Bitcoin Core wallets.
197
192
198
193
Path format is <code>m/83696968'/2'/{index}'</code>
199
194
@@ -208,12 +203,7 @@ OUTPUT
208
203
===XPRV===
209
204
Application number: 32'
210
205
211
-
Taking 64 bytes of the HMAC digest, the first 32 bytes are the chain code, and second 32 bytes are the private key for BIP32 XPRV value. Child number, depth, and parent fingerprint are forced to zero.
212
-
213
-
There is a very small chance that you'll make an invalid key that is zero or bigger than the order of the curve. If this occurs, software should hard fail (forcing users should iterate to the next index).
214
-
215
-
From BIP32:
216
-
> In case parse<sub>256</sub>(I<sub>R</sub>) is 0 or ≥ n, the resulting key is invalid, and one should proceed with the next value for i. (Note: this has probability lower than 1 in 2<sup>127</sup>.)
206
+
Taking 64 bytes of the HMAC digest, the first 32 bytes are the chain code, and second 32 bytes[1] are the private key for BIP32 XPRV value. Child number, depth, and parent fingerprint are forced to zero.
217
207
218
208
Path format is <code>m/83696968'/32'/{index}'</code>
219
209
@@ -259,6 +249,13 @@ Many thanks to Peter Gray and Christopher Allen for their input, and to Peter fo
259
249
260
250
BIP32, BIP39
261
251
252
+
==Footnotes==
253
+
254
+
[1] There is a very small chance that you'll make an invalid key that is zero or bigger than the order of the curve. If this occurs, software should hard fail (forcing users should iterate to the next index).
255
+
256
+
From BIP32:
257
+
> In case parse<sub>256</sub>(I<sub>L</sub>) is 0 or ≥ n, the resulting key is invalid, and one should proceed with the next value for i. (Note: this has probability lower than 1 in 2<sup>127</sup>.)
258
+
262
259
==Copyright==
263
260
264
261
This BIP is dual-licensed under the Open Publication License and BSD 2-clause license.
0 commit comments