mirror of
https://github.com/status-im/EIPs.git
synced 2025-01-16 18:04:31 +00:00
eip-778: clarify signature encoding even more
This commit is contained in:
parent
095488a2f6
commit
427163cdd4
@ -75,7 +75,7 @@ This specification defines a single scheme to be used as the default: "secp256k1
|
|||||||
|
|
||||||
- To sign record `content` with this scheme, apply the keccak256[^1] hash function to
|
- To sign record `content` with this scheme, apply the keccak256[^1] hash function to
|
||||||
`content`, then create a signature of the hash. The resulting 64-byte signature is
|
`content`, then create a signature of the hash. The resulting 64-byte signature is
|
||||||
encoded as the concatenation of `r` and `s`.
|
encoded as the concatenation of the `r` and `s` signature values.
|
||||||
- To verify a record, check that the signature was made by the public key in the
|
- To verify a record, check that the signature was made by the public key in the
|
||||||
"secp256k1" key/value pair.
|
"secp256k1" key/value pair.
|
||||||
- To derive a node address, take the keccak256 hash of the public key.
|
- To derive a node address, take the keccak256 hash of the public key.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user