Recognizing importance of information security when it is handled electronically , BTC has come up with Public Keys Infrastructure(PKI) .PKI is the technique of encrypting and decryption of data with public and private keys . PKI ensures data integrity, message authentication, and non-repudiation altogether. When signing, you use your private key to write message's signature, and they use your public key to check if it's really yours.