cleanup markdown formatting

parent f2ffb282
...@@ -39,7 +39,7 @@ The index is used so one can generate more keys corresponding to the same URI. ...@@ -39,7 +39,7 @@ The index is used so one can generate more keys corresponding to the same URI.
##HD Structure ##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`). 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. ...@@ -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. 6. Derive the HD node `m/13'/A'/B'/C'/D'` according to BIP32.
###Worked example ###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` 2. `sha256(index + uri)` = `d0e2389d4c8394a9f3e32de01104bf6e8db2d9e2bb0905d60fffa5a18fd696db`
...@@ -62,7 +62,7 @@ The index is used so one can generate more keys corresponding to the same URI. ...@@ -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 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). See a [Python example](https://github.com/trezor/python-trezor/blob/ca45019918bc4c54f1ace899a9acf397c8f4d92f/tests/test_msg_signidentity.py#L27).
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment