mirror of
https://github.com/bitcoin/bips.git
synced 2025-03-19 14:22:01 +01:00
note about pubkey collision
This commit is contained in:
parent
0d04e41e2f
commit
4491902569
@ -128,6 +128,8 @@ To generate the corresponding public key:
|
||||
* Fail if ''int(sk) = 0'' or ''int(sk) >= n''
|
||||
* The public key corresponding to secret key ''sk'' is ''pubkey(sk)''.
|
||||
|
||||
Note that the two secret keys ''sk'' and ''bytes(n-int(sk))'' will generate the same public key.
|
||||
|
||||
Alternatively, the public key can be created according to [https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki BIP32] which describes the derivation of 33-byte compressed public keys.
|
||||
In order to translate such public keys into bip-schnorr compatible keys, the first byte must be dropped.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user