How Digital Signatures work on the Cryptocurrency Wallets

in #wallet7 years ago

How signatures work on your digital Wallet.

1.png

What do want we want from Signatures . . . Three things:

  1. Just like a paper signature, only you can make your signature but anyone who sees your signature and verify its validity

  2. We want to ensure that the signature is tied to a particular document. No on can just snip your signature and tie to another documents. It's your unique signature which represents your endorsement to a particular documents its tied to.

IF you have participated in the cryptospace and purchased an asset (any coin) then you must be familiar with API Keys. Now here is an API for a digital signatures.

There are three operations that we need the API Keys to perform:

  1. We need to generate keys, two keys in particular.

         SK - Secret signing key (Holds your secret signature)
         PK - Public verification key (Provide it to public for verification)
    
  2. Second operation is the sign operation, the sign operation is that you take your secret signing key and you take any message that you want to put your signature to represent and it returns "sig," which is the signature. Simpy put, its just string of bits which represents your signature.

  3. Third operation is "Validation," it takes something which claims to be a valid signature and validates that it. It takes the Public key (PK) of the signer, the message which the signature represents, and it then either says Yes or No to validate the signature.

These three operations which make up the signature on your wallets and their operation. I hope some of you get this lol.

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.030
BTC 61599.36
ETH 3407.97
USDT 1.00
SBD 2.47