what is the difference between private and public keys?

in #steemhelp8 years ago

I understand the differences between the keys (posting, owner, active, memo). I have to use private keys to login, so what are the public keys used for?

Sort:  

A public and private key pair is a pair of asymmetric keys that perform the encrypt/decrypt functions of a secure data transmission, among other things. So, for example:

Robert wants to send Katie a file. Robert would request Katie’s public key to encrypt the file and then encrypt it with her public key. Robert would then send the file to Katie. Katie would then decrypt the file with her private key.

In this way, Katie’s public key is only used to encrypt but can never be used to decrypt, keeping the data safe. And Katie can only decrypt the data with her private key and would never exposes her private key to anyone, keeping her private key safe.

This is the basis for all secure communication. This, however, is also very simplistic language. For a more comprehensive view on asymmetric and symmetric keys and how they are used, a section on how encryption key systems work has been provided.

Source

Ok thanks, that helps. Can you give an example of how public and private keys are used within steemit? How would I use the public posting key?

Coin Marketplace

STEEM 0.16
TRX 0.16
JST 0.028
BTC 60580.16
ETH 2342.43
USDT 1.00
SBD 2.47