what is the difference between private and public keys?

in steemhelp •  8 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?

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

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?