Safekipedia
Anonymity networksBanking technologyCryptographic protocolsCryptographic software

Public-key cryptography

Adapted from Wikipedia · Explorer experience

What Is Public-Key Cryptography?

Public-key cryptography is a special way to keep messages safe when they travel far away, like on the internet. It uses two special keys: a public key and a private key. Think of them like a lock and a secret key. Anyone can use the public key to lock a message, but only the person with the private key can unlock it.

How It Works

The public key can be shared with everyone, like putting it on a website or in a book. But the private key must stay hidden, only known to one person. This way, people can send secret messages to each other without needing to meet up first to share a key. It’s like magic, but it’s really smart math!

Why It’s Important

Public-key cryptography helps keep our online world safe. It is used when you see the little lock symbol in your web browser, or when you get a message that says it’s from a real friend and not someone pretending to be them. It makes sure that important information, like banking details or private chats, stays secret and cannot be read by others.

Fun Fact

One of the first ways to use this kind of secret code was created in 1976 by three clever people: Ron Rivest, Adi Shamir, and Leonard Adleman. They named their method “RSA,” and it’s still used today to protect lots of information!

This article is a child-friendly adaptation of the Wikipedia article on Public-key cryptography, available under CC BY-SA 4.0.