Cryptographic Protocols to Prevent Spam