mirror of
https://github.com/bits-wallet/specs.git
synced 2025-12-17 13:44:21 +01:00
Update 02.md
This commit is contained in:
10
02.md
10
02.md
@@ -33,9 +33,9 @@ Inconvenient for onboarding new users who have no UTXO possession in the beginni
|
||||
- Let _ds_ = _hash<sub>BDS-02 dersec</sub>(nsec)_.
|
||||
- The number _u_ of child keys, _u = 2<sup>32</sup>_.
|
||||
- For _i = 1 .. u_:
|
||||
- - The BDS-02 child secret key sk<sub>i</sub>.
|
||||
- - The BDS-02 child public key pk<sub>i</sub>.
|
||||
- - The BDS-02 child secret key _sk<sub>i</sub>_.
|
||||
- - The BDS-02 child public key _pk<sub>i</sub>_.
|
||||
- - pk<sub>i</sub> BIP-340 tweak t<sub>i</sub> : 32-byte array.
|
||||
- - Let t<sub>i</sub> = hash<sub>BDS-02 tweak</sub>(ds || bytes(32, i)).
|
||||
- - Let pk<sub>i</sub> = _cbytes(npub + int(t<sub>i</sub>)⋅G)_.
|
||||
- - Let sk<sub>i</sub> = _bytes(32, (int(nsec) + int(t<sub>i</sub> )) mod n)_.
|
||||
- - Let _t<sub>i</sub>_ = _hash<sub>BDS-02 tweak</sub>(ds || bytes(32, i))_.
|
||||
- - Let _pk<sub>i</sub>_ = _cbytes(npub + int(t<sub>i</sub>)⋅G)_.
|
||||
- - Let _sk<sub>i</sub>_ = _bytes(32, (int(nsec) + int(t<sub>i</sub> )) mod n)_.
|
||||
|
||||
Reference in New Issue
Block a user