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
+15-20Lines changed: 15 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -265,45 +265,40 @@ OUTPUT
265
265
===PWD===
266
266
Application number: 707764'
267
267
268
-
The derivation path format is: <code>m/83696968'/707764'/{num_bytes}'/{index}'</code>
268
+
The derivation path format is: <code>m/83696968'/707764'/{pwd_len}'/{index}'</code>
269
269
270
-
`16 <= num_bytes <= 64`
270
+
`20 <= pwd_len <= 86`
271
271
272
-
Keep left-most `num_bytes` from the generated entropy and [https://datatracker.ietf.org/doc/html/rfc4648 Base64] encode the result.
273
-
Remove any spaces or new lines inserted by Base64 encoding process. Resulting password string may contain up to 2 trailing `=` characters (base64 padding)
274
-
depending on the value of `num_bytes`. Padding is considered part of the password and should be preserved.
272
+
[https://datatracker.ietf.org/doc/html/rfc4648 Base64] encode the all 64 bytes of entropy.
273
+
Remove any spaces or new lines inserted by Base64 encoding process. Slice base64 result string
274
+
on index 0 to `pwd_len`. This slice is the password. As `pwd_len` is limited to 86, passwords will not contain padding.
0 commit comments