mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 19:00:46 +00:00
Fix Typo: ))) -> ))
This commit is contained in:
parent
47e9f866b7
commit
23f391bb0f
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ undefined
|
||||||
### personal_sign
|
### personal_sign
|
||||||
|
|
||||||
The sign method calculates an Ethereum specific signature with:
|
The sign method calculates an Ethereum specific signature with:
|
||||||
`sign(keccak256("\x19Ethereum Signed Message:\n" + len(message) + message)))`.
|
`sign(keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))`.
|
||||||
|
|
||||||
By adding a prefix to the message makes the calculated signature recognisable as an Ethereum specific signature. This prevents misuse where a malicious DApp can sign arbitrary data (e.g. transaction) and use the signature to impersonate the victim.
|
By adding a prefix to the message makes the calculated signature recognisable as an Ethereum specific signature. This prevents misuse where a malicious DApp can sign arbitrary data (e.g. transaction) and use the signature to impersonate the victim.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue