Blockchain, Cryptography, Bitcoin.
SecretKey is used for the purpose of signing and the public key is used for the purpose of verification of signer. (sk,pk):=generateKeys(keysize in bits) Sign the message: We then sign the message using the secret key. sig:=sign(sk,message) Verification: We can now authenticate the sender.