Cryptographic keys in blockchain public, private keys with digital signature in blockchain

images (15).png

source

Public key

In blockchain, cryptography public key is cryptographic code that can be accessible by the general public it can be used by users to receive cryptocurrency from other users just like a user wallet address which can be shared with the public for transaction purposes the public key plays the same role as well.

In essence, the public key in cryptography can be publicly distributed without any security compromise.

The public key is an alphanumeric key that is generated in a user's wallet used for facilitating users' transactions, it is also used to verify user digital signature and proof of users ownership.

In general, how the public key works is it helps initiate transactions in the blockchain through a user crypto wallet with the help of a private key these initiated transactions are completed.

private key

The private key work simultaneously with the public key although the private key as the name suggests it should be made private and not accessible by the general public it with the private key one is eligible to control transaction processing in his wallet.

Private keys are only made available to the user which helps such user facilitates all chain transaction.

When two users decide to initiate a transaction their public key will be shared the public key is a hash version of the public address used for sending and receiving digital tokens. The private key helps in generating the public key while the public key helps in generating the public address for making transactions among the two users.

Digital signature

Just like in centralized finance systems where a check issuer needs to sign a written signature so to ensure proof of ownership of his account.

In cryptography digital signature works, in the same manner, the only difference here is that it's in a digital format/coding which makes it more authentic.

Digital signature in cryptography is used to increase/stimulate the security level of digital transactions among users it involves using two keys the private key which is used for signing all transactions and the public key which is used for verification of users transactions.

Therefore in general terms, the digital signature in cryptography is used for authenticating a user's ownership over his wallet It is used for identifying a user as the authentic owner of a wallet sending a message or transaction.

images (16).png

source

The above image shows a typical example of how a cryptographic digital signature works.

For these processes to be completed there must be a sender who owns a private key and also a receiver who can receive public keys and decrypt such public key with is price key the private key serves as the secret channel between the two parties and with private key the receiver can easily decrypt and read the senders message.

H2
H3
H4
3 columns
2 columns
1 column
3 Comments
Ecency