Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
slips
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
slips
Commits
98357061
Unverified
Commit
98357061
authored
Feb 18, 2016
by
Pavol Rusnak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup markdown formatting
parent
f2ffb282
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
59 deletions
+56
-59
slip-0013.md
slip-0013.md
+3
-3
slip-0016.md
slip-0016.md
+53
-56
No files found.
slip-0013.md
View file @
98357061
...
...
@@ -39,7 +39,7 @@ The index is used so one can generate more keys corresponding to the same URI.
##HD Structure
1.
First concatenate
`index`
with the URI (
`uri`
). Use little endian for
`index`
.
1.
First concatenate
`index`
with the URI (
`uri`
). Use little endian for
`index`
.
2.
Compute the SHA256 hash of the result (
`hash`
).
...
...
@@ -52,7 +52,7 @@ The index is used so one can generate more keys corresponding to the same URI.
6.
Derive the HD node
`m/13'/A'/B'/C'/D'`
according to BIP32.
###Worked example
1.
`index + uri`
=
`0`
+
`https://satoshi@bitcoin.org/login`
1.
`index + uri`
=
`0`
+
`https://satoshi@bitcoin.org/login`
2.
`sha256(index + uri)`
=
`d0e2389d4c8394a9f3e32de01104bf6e8db2d9e2bb0905d60fffa5a18fd696db`
...
...
@@ -62,7 +62,7 @@ The index is used so one can generate more keys corresponding to the same URI.
5.
`A'`
= 2637750992,
`B'`
= 2845082444,
`C'`
= 3761103859,
`D'`
= 4005495825
6.
`bip32 node path`
=
`m/2147483661/2637750992/2845082444/3761103859/4005495825`
6.
`bip32 node path`
=
`m/2147483661/2637750992/2845082444/3761103859/4005495825`
See a
[
Python example
](
https://github.com/trezor/python-trezor/blob/ca45019918bc4c54f1ace899a9acf397c8f4d92f/tests/test_msg_signidentity.py#L27
)
.
...
...
slip-0016.md
View file @
98357061
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment