# What are symmetric and asymmetric encryption and what would be a good example from daily life? [duplicate]

I understand that to "encrypt" something means to "code" it, to make it understandable for two parties, giver and receiver and generally only for them, but I don't know what it means when this is being done symmetrically or asymmetrically.

What are symmetric and asymmetric encryption and what would be a good example from daily life?

New contributor
opener is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
• There are plenty of definitions and guides all over the Internet and even questions on this site. It seems you didn't bother to do any research before asking. 2 days ago
• @EsaJokinen it's untrue that I don't bother to do any research before asking, in general. I tried to read about it in the past but didn't understand almost anything. 2 days ago
• If you didn't understand what you read there, how could we be better in explaining it in a way you could understand? 2 days ago
• @EsaJokinen I don't know, it was moths and years before. It's worth for me to ask and I respect if someone don't want to answer. 2 days ago
• This video might help you understand these concepts with clear and simplified examples: Practical Networking: Symmetric Encryption vs Asymmetric Encryption 2 days ago

I have provided examples from daily life since simply the difference between the types is a question that has been thoroughly discussed on the internet and on this site.

## Symmetric

You put the document you wish to protect in a box with a lock and lock it with a key. Anyone with that key can open the lock and access the document. Usually this is used for protecting data at rest, so you are the only person with the key.

## Asymmetric

You put the document you wish to protect in a box with two keyholes.
You wish to send this box to someone, so you ask them for their lock-key (which is freely shared). You use it to lock the box, but you cannot use it to unlock the box and neither can anyone else. You can send this box through some untrusted messengers (post office or something) without fear of it being unlocked, as even if they got access to the lock-key, they can't unlock it.
Once the person you sent the box to receives it, they can unlock it using their own personal unlock key, sold to them by the manufacturer of the public lock-key.

In summary: the receiving party publicizes a key that can be used to encrypt data in a way that only themselves, with a given private key, can decrypt it. This allows the sending party to send encrypted data without having to send a symmetric (both unlock and lock) key through untrusted channels that may take it and decrypt the data on its way to the recipient.

• What a magical box you have! 2 days ago