Skip to main content
Loading…
AS Albert Schaper
  • 01Home
    • Profile & Career
    • Expertise
    • Overview
    • Results
    • Technical Depth
  • 04Projects
  • 05Contact
  • 06Insights
  • 07Tools
AS

Albert Schaper

01Home
Profile & CareerExpertise
OverviewResultsTechnical Depth
04Projects05Contact06Insights07Tools

AI · Finance · Entrepreneur

Home / Insights / What a Message Signature Proves — and What It Does Not
Insights

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.

By Albert Schaper AI Expert & Entrepreneur
10 November 2026 CryptoWeb3
Auf Deutsch lesen LinkedIn X
Contents
  • EIP-191 puts a prefix in front of the message
  • Recovery is not a reason to trust
  • Smart-contract wallets: ERC-1271 instead of ecrecover
  • Bitcoin message signatures use a different header
  • A check that needs no key

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 byteSchemeWhat is hashed
0x00Data with an intended validator0x19, 0x00, validator address, data
0x01EIP-712, structured data0x19 0x01, domain separator, struct hash
0x45 (E)personal_signthe 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:

HeaderAddress type
27–30P2PKH, uncompressed key
31–34P2PKH, compressed key
35–38P2SH-SegWit
39–42Bech32 (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 0x19 prefix, 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 hello under the personal_sign prefix: 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

  • Why addresses need checksums
  • Glossary: EIP-191
  • Geld 2.0
More Insights
  • Crypto

    How Calldata Is Laid Out: Selector, Arguments, and Offsets

    After the selector's four bytes, arguments follow in 32-byte words. Static values sit in place, dynamic values point onward with an offset measured without the selector.

  • Crypto

    What the 4-Byte Selector Means: How Contracts Find a Function

    A call to transfer(address,uint256) starts with 0xa9059cbb. Those four bytes are Keccak-256 of the canonical signature, and the hash does not give the name back.

  • Crypto

    Learning Bitcoin and Web3: Books, papers, and where to start

    Which books and papers are worth your time depends on the question. Three reading paths, a timeline and annotated tables on founding texts, technology, money, Ethereum, DeFi, privacy, regulation and the critics — with level, access and the tools on this site.

Albert Schaper
About the author

AI expert and entrepreneur with a finance background and a focus on execution. I support companies as a partner and partly with own capital, mainly on strategy, financing and sales, and advise teams on putting AI to work. LinkedIn

← All Insights
AS

AI · Finance · Entrepreneur

Navigation

HomeAboutExpertiseProjectsContactInsightsTools

Projects

Best-AI.orgBitAutorGeld 2.0Pharmaceutical company

Tools

ETH Unit ConverterAddress ValidatorQR Code GeneratorSeed Phrase ValidatorWallet Generator

© Albert Schaper. All rights reserved.

Privacy / Imprint