What a Message Signature Proves — and What It Does Not
A valid signature shows that the key for this address signed exactly these bytes under a specific prefix. It does not show that the text is true or that you should pay.
The Message Verifier comes back with “Signature valid — it comes from this address.” The key for that address signed exactly these bytes, under exactly this scheme. No transaction goes out. Read the text anyway: it may be false, the request may be a trap, and the address may belong to someone other than the person named there. Paying, approving, or logging in does not follow from that line. The specifications below were retrieved on 10 November 2026.
The verifier only checks. It does not sign, and it does not ask for a private key.
EIP-191 puts a prefix in front of the message
EIP-191 starts signed data with the byte 0x19. The payload is then not one valid RLP object, so it is not itself an Ethereum transaction. The version byte right after it separates the schemes:
| Version byte | Scheme | What is hashed |
|---|---|---|
0x00 | Data with an intended validator | 0x19, 0x00, validator address, data |
0x01 | EIP-712, structured data | 0x19 0x01, domain separator, struct hash |
0x45 (E) | personal_sign | the text \x19Ethereum Signed Message:\n, then the length, then the message |
For personal_sign, the length is appended as decimal text, not as a single length byte. hello is five bytes, so that character is 5 (0x35), not the byte 0x05. The Keccak-256 of the prefix, the length, and hello is 0x50b2c43fd39106bafbba0da34fc430e1f91e3c96ea2acee2bc34119f92b37750. A signature has to cover that hash. The hash is not a signature.
Characters outside ASCII count by the byte length of the encoded message. One invisible character changes the length and the hash. When the pasted message contains such characters, the verifier points them out. It does not alter the message when you paste.
Recovery is not a reason to trust
Recover the address from the message and the signature, then set it next to the one you were given. A match ties these bytes to this signature and this address. It leaves the sentence unproven, and it does not show that the signer read it. A login, an airdrop proof, and permission to spend can all produce that same line. Read the text before you confirm anything.
EIP-712 does not hash the sentence on the screen. Under the prefix 0x19 0x01, the hash is the domain separator plus the struct hash. The same signature in the personal_sign tab belongs to different bytes and will not match there. The verifier keeps the two on separate tabs. The domain is a struct: EIP-712 includes only the fields the design needs, among them name, version, chain ID, the verifying contract's address, and a salt. Which fields a particular signature uses is written in the domain, not in the prefix.
Smart-contract wallets: ERC-1271 instead of ecrecover
Recovery above applies when a single key controls the address (an externally owned account, an EOA). A smart contract has no private key for the address. A Safe or an account-abstraction wallet is the usual case. Those contracts confirm signatures under ERC-1271: the checker calls isValidSignature(hash, signature) on the contract, and the contract decides by its own rule, for example a threshold of several signers. You need chain access and the contract's state at that moment.
The Message Verifier computes locally, with no network request, and does not check ERC-1271. For a contract address, a mismatch is therefore not proof of forgery: the signature can still be valid under the contract's own logic. Look the address up in an explorer to see whether it is a contract, and check the signature with a tool that calls isValidSignature. The contract's state can change later, for example when signers are replaced.
Bitcoin message signatures use a different header
BIP-137 specifies a compact signature of 65 bytes: one header byte, then r and s. The header selects the address type. The hash is a double SHA-256 of the formatted message:
| Header | Address type |
|---|---|
| 27–30 | P2PKH, uncompressed key |
| 31–34 | P2PKH, compressed key |
| 35–38 | P2SH-SegWit |
| 39–42 | Bech32 (version 0) |
The verifier on this site accepts legacy addresses (1…), P2SH-SegWit (3…), and native SegWit (bc1q…). It does not check Taproot (bc1p…) or BIP-322, which BIP-137 itself calls a newer format. A rejection there does not by itself mean the signature is invalid under another standard.
A check that needs no key
Start from a signature you already have, or from one a wallet shows for a disposable message. In the Message Verifier, enter the message, the signature, and the address, and pick the tab that matches the scheme. Compare the recovered address with the claimed one. If they differ, the signature does not belong to that address, unless the address is a smart contract (see above). If they match, read the text, and when you have an address, check its format in the Address Validator. A valid signature does not replace that second check. A seed belongs in neither field.
Sources:
Specifications
- Martin Holst Swende, Nick Johnson: EIP-191: Signed Data Standard (the
0x19prefix, version bytes,personal_sign). Retrieved 10 November 2026. - Remco Bloemen, Leonid Logvinov, Jacob Evans: EIP-712 (
0x19 0x01, domain separator, struct hash). Retrieved 10 November 2026. - Christopher Gilliard: BIP-137 (header ranges, double SHA-256, pointer to BIP-322). Retrieved 10 November 2026.
- Hash of
hellounder thepersonal_signprefix: recomputed with Keccak-256 on 10 November 2026. - Francisco Giordano et al.: ERC-1271: Standard Signature Validation Method for Contracts (
isValidSignature). Retrieved 10 November 2026.
Continue reading