mirror of
https://github.com/bitcoin/bips.git
synced 2025-03-13 11:09:16 +01:00
give bip32 conversion its own section
This commit is contained in:
parent
455504b3af
commit
453947f43a
1 changed files with 2 additions and 0 deletions
|
@ -142,6 +142,8 @@ The algorithm ''PubKey(sk)'' is defined as:
|
|||
|
||||
Note that we use a very different public key format (32 bytes) than the ones used by existing systems (which typically use elliptic curve points as public keys, or 33-byte or 65-byte encodings of them). A side effect is that ''PubKey(sk) = PubKey(bytes(n - int(sk))'', so every public key has two corresponding secret keys.
|
||||
|
||||
==== Public Key Conversion ====
|
||||
|
||||
As an alternative to generating keys randomly, it is also possible and safe to repurpose existing key generation algorithms for ECDSA in a compatible way. The secret keys constructed by such an algorithm can be used as ''sk'' directly. The public keys constructed by such an algorithm (assuming they use the 33-byte compressed encoding) need to be converted by dropping the first byte. Specifically, [[bip-0032.mediawiki|BIP32]] and schemes built on top of it remain usable.
|
||||
|
||||
==== Default Signing ====
|
||||
|
|
Loading…
Add table
Reference in a new issue