mirror of
https://github.com/bitcoin/bips.git
synced 2025-02-26 00:14:27 +01:00
pk not p
This commit is contained in:
parent
e9600e6ed8
commit
01e1f6e6b2
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ For example, without tagged hashing a bip-schnorr signature could also be valid
|
|||
|
||||
This proposal suggests to include the tag by prefixing the hashed data with ''SHA256(tag) || SHA256(tag)''. Because this is a 64-byte long context-specific constant, optimized implementations are possible (identical to SHA256 itself, but with a modified initial state). Using SHA256 of the tag name itself is reasonably simple and efficient for implementations that don't choose to use the optimization.
|
||||
|
||||
'''Final scheme''' As a result, our final scheme ends up using public key ''pk'' which is the X coordinate of a point ''P'' on the curve whose Y coordinate is a quadratic residue and signatures ''(r,s)'' where ''r'' is the X coordinate of a point ''R'' whose Y coordinate is a quadratic residue. The signature satisfies ''sG = R + tagged_hash(r || p || m)P''.
|
||||
'''Final scheme''' As a result, our final scheme ends up using public key ''pk'' which is the X coordinate of a point ''P'' on the curve whose Y coordinate is a quadratic residue and signatures ''(r,s)'' where ''r'' is the X coordinate of a point ''R'' whose Y coordinate is a quadratic residue. The signature satisfies ''sG = R + tagged_hash(r || pk || m)P''.
|
||||
|
||||
=== Specification ===
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue