Signing messages proves that the message you signed was not altered in any way and it proves that you own the private key to the public key to signed the message.
Here is a guide on how to sign messages:
https://bitcointalk.org/index.php?topic=990345.0If you sign your Bitcoin address will you be exposing your private key?