mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 08:51:08 +03:00
secp256k1 uses sha 256, not blake2
This commit is contained in:
parent
4f95fcef47
commit
34e47749de
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ this time, instead of simply sending `sr = kr + e * rr` with his `rr*G` and
|
|||
`kr*G`, Bob sends `sr' = kr + x + e * rr` as well as `x*G`.
|
||||
3. Alice can validate that `sr'*G = kr*G + x*G + rr*G`.
|
||||
4. Alice sends back her `ss = ks + e * xs` as she normally would, now that she
|
||||
can also compute `e = Blake2(M | ks*G + kr*G)`.
|
||||
can also compute `e = SHA256(M | ks*G + kr*G)`.
|
||||
5. To complete the signature, Bob computes `sr = kr + e * rr` and the final
|
||||
signature is `(sr + ss, kr*G + ks*G)`.
|
||||
6. As soon as Bob broadcasts the final transaction to get his new grins, Alice
|
||||
|
|
Loading…
Reference in a new issue