Nepedia
Back to Discover
Independent Reader
💻

Public-key cryptography

technology Maturity 9-11 war conflict Next article →

This article covers sensitive topics: war_conflict. Parents can manage visibility in Parental Controls.

Computers use special pairs of keys to keep data safe.

Each pair has two parts. One is a public key. You can share this key with everyone. The other is a private key. This key must stay secret.

These keys are made using math. They work in two main ways.

One way is public-key encryption. Anyone can use your public key to lock a message. This locked message is called ciphertext. Only your private key can unlock it. This helps people send secret notes. For example, a journalist can share a public key online. Sources can then send secret messages to them.

Another way is a digital signature. A sender uses their private key to sign a message. Others use the public key to check it. This proves who sent the message. It also shows the message was not changed.

This system is very important for the internet. It helps protect web servers and emails. Sometimes, computers use both types of keys together. This makes the work faster and safer.

171 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (4)
File:Public-key-crypto-1.svg
Public-key-crypto-1.svg
File:Private key signing.svg
Private key signing.svg
File:Public key shared secret.svg
Public key shared secret.svg
File:Public key encryption.svg
Public key encryption.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.