<p>What you have come across is the yet to be fully explored world of cryptographic signatures - and this is only the beginning my friend.</p>

<p>A cryptographic signature in a very simplistic way, allows you to electronically sign something, usually a string of text. That signature can then be used to prove that the text that you signed has not been tampered with. If you were to even add a comma or a space to the text, the outcome of your signature would be different, and therefore you could prove that the text and your signature were not the same.</p>

<p>Unless you did not know, almost anything digital is at one level a string of text (sometimes human readable, sometimes not) so <em>anything digital</em> can be cryptographically signed in one way or another.</p>

<p>This has absolutely nothing to do with the block-chain or bitcoin <em>per se</em>, but is a side-benefit of bitcoin employing crytographic signatures to allow you to send bitcoins. You do not have to spend bitcoins to sign something.</p>

<p>In short, the mechanism is being used to allow you to crytpographically sign ANYTHING. It is almost too broad a subject to answer fully here, but for example, imagine that you are buying a house, and that you copy paste the contract into the message box and sign it, and then the seller does the same with the result of your signature. </p>

<p>What you would get is a cryptographically signed contract that absolutely could not be tampered with, that proves that both of you agreed to the terms in the contract, and an independent third-party could prove this to be the case.</p>

<p>This opens up a whole new world potentially without lawyers (think of how wondeful that might be) because you would only agree to (and sign) things that you agreed 100% with and understood. You could not be forced to sign anything that you did not agree with.</p>

<p>In the future where cryptographic signatures are used for everything people and companies will be forced to behave fairly in order to get anywhere at all. </p>

CC BY-SA 3.0
2014-02-07T11:30:53.567Z
2014-02-07T11:30:53.567Z
T9b
<p>I have only used Multibit, but I assume it works the same that Bitcoin QT.</p>

<p>You sign a message to prove that you own an address.</p>

<p>For example, let's say Alice has address 123456, and is requesting a payment because she's selling something online. But then Bob doesn't trust her, and asks: “How do I know this is your address”.</p>

<p>Then she writes a message, for example: “This is my address and you can trust me”, and then she signs it with her private key (567890).
The signed message would look something like “ruXtsauy190ZaSzBoISR=”</p>

<p>Then Bob can verify the message using her address (123456), and if the verification is correct, then Bob can trust Alice and proceed with the purchase.</p>

<p>The message is never stored in the blockchain. You should send this via email, IM, etc.</p>

CC BY-SA 3.0
2014-02-07T03:14:07.697Z
2014-02-07T03:14:07.697Z
Arturo Torres Sánchez
<p>In bitcoinQT what is the sign message for? I'm not exactly sure what I can use this for. </p>

<ul>
<li><p>can someone give an example of how this would be used in a layman way? nothing too technical please.</p></li>
<li><p>also those this message only reside on your computer or your wallet file? </p></li>
<li><p>so it doesnt go into the blockchain?</p></li>
</ul>

<bitcoin-core><message-signing>
How do bitcoin qt sign signature/messages work?
Patoshi パトシ
# How do bitcoin qt sign signature/messages work?

(Asked by: username_0 on 2014-02-07)

In bitcoinQT what is the sign message for? I'm not exactly sure what I can use this for.

* can someone give an example of how this would be used in a layman way? nothing too technical please.
* also those this message only reside on your computer or your wallet file?
* so it doesnt go into the blockchain?

**Tags:** bitcoin-core, message-signing


---

## 2 answers

### Answer by username_1 on 2014-02-07. Score: 2

What you have come across is the yet to be fully explored world of cryptographic signatures - and this is only the beginning my friend.

A cryptographic signature in a very simplistic way, allows you to electronically sign something, usually a string of text. That signature can then be used to prove that the text that you signed has not been tampered with. If you were to even add a comma or a space to the text, the outcome of your signature would be different, and therefore you could prove that the text and your signature were not the same.

Unless you did not know, almost anything digital is at one level a string of text (sometimes human readable, sometimes not) so *anything digital* can be cryptographically signed in one way or another.

This has absolutely nothing to do with the block-chain or bitcoin *per se*, but is a side-benefit of bitcoin employing crytographic signatures to allow you to send bitcoins. You do not have to spend bitcoins to sign something.

In short, the mechanism is being used to allow you to crytpographically sign ANYTHING. It is almost too broad a subject to answer fully here, but for example, imagine that you are buying a house, and that you copy paste the contract into the message box and sign it, and then the seller does the same with the result of your signature.

What you would get is a cryptographically signed contract that absolutely could not be tampered with, that proves that both of you agreed to the terms in the contract, and an independent third-party could prove this to be the case.

This opens up a whole new world potentially without lawyers (think of how wondeful that might be) because you would only agree to (and sign) things that you agreed 100% with and understood. You could not be forced to sign anything that you did not agree with.

In the future where cryptographic signatures are used for everything people and companies will be forced to behave fairly in order to get anywhere at all.


---

### Answer by username_2 on 2014-02-07. Score: 0

I have only used Multibit, but I assume it works the same that Bitcoin QT.

You sign a message to prove that you own an address.

For example, let's say Alice has address 123456, and is requesting a payment because she's selling something online. But then Bob doesn't trust her, and asks: “How do I know this is your address”.

Then she writes a message, for example: “This is my address and you can trust me”, and then she signs it with her private key (567890).
The signed message would look something like “ruXtsauy190ZaSzBoISR=”

Then Bob can verify the message using her address (123456), and if the verification is correct, then Bob can trust Alice and proceed with the purchase.

The message is never stored in the blockchain. You should send this via email, IM, etc.


---

