Update 02.md

This commit is contained in:
brqgoo
2023-01-29 12:48:59 +03:00
committed by GitHub
parent 3e8bf212a7
commit 5269292eed

10
02.md
View File

@@ -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)_. - Let _ds_ = _hash<sub>BDS-02 dersec</sub>(nsec)_.
- The number _u_ of child keys, _u = 2<sup>32</sup>_. - The number _u_ of child keys, _u = 2<sup>32</sup>_.
- For _i = 1 .. u_: - For _i = 1 .. u_:
- - The BDS-02 child secret key sk<sub>i</sub>. - - The BDS-02 child secret key _sk<sub>i</sub>_.
- - The BDS-02 child public key pk<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. - - 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 _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 _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 _sk<sub>i</sub>_ = _bytes(32, (int(nsec) + int(t<sub>i</sub> )) mod n)_.