Nepedia
Back to Discover
Fluent Reader
💻

Cryptography

technology Maturity 9-11 Vital Level 3 Next article →

Cryptography is the study of secret writing.

Caesar cipher left shift of 3
Caesar cipher left shift of 3

It helps people send private messages safely. This is very important when others might try to listen in. People use these methods to keep information private. It is used for military messages and computer passwords. It even protects the money we use when we shop online.

Symmetric key encryption
Symmetric key encryption

How does this secret writing work? First, a sender uses encryption to change a message. This turns readable words, called plaintext, into nonsense text. We call this nonsense ciphertext. To read it, the receiver must use decryption. This is the process of turning the nonsense back into real words.

Public key encryption
Public key encryption

To do this, you need a secret key. A key is a special rule or a string of characters. Without the right key, the ciphertext stays unreadable.

People have used these tricks for thousands of years.

Skytala&EmptyStrip-Shaded
Skytala&EmptyStrip-Shaded

Julius Caesar used a simple shift cipher over 2,000 years ago. He moved letters three places down the alphabet to hide his notes. The ancient Greeks also used a tool called a scytale. In Egypt, people carved secret messages into stone. In India, the Kama Sutra describes different kinds of ciphers. Even the Arabs helped by writing about how to study these codes.

Al-kindi cryptographic
Al-kindi cryptographic

There are two main ways to use keys today. In symmetric systems, one secret key does everything. It both encrypts and decrypts the message. This way is very fast for computers to use. Asymmetric systems are a bit different. They use a public key to lock the message. Then, a private key is used to unlock it.

Diffie and Hellman
Diffie and Hellman

This allows people to talk safely without sharing a secret first.

Modern cryptography is built on very hard math.

Enigma Machine at NSA
Enigma Machine at NSA

We call a system computationally secure if it is too hard to break. Even with fast computers, it is nearly impossible to crack. This protects our digital lives every single day. You use cryptography when you use a chip-based payment card. You also use it every time you type a password. It keeps the digital world running smoothly and safely.

339 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (13)
File:Lorenz-SZ42-2.jpg
Lorenz-SZ42-2.jpg
File:Caesar cipher left shift of 3.svg
Caesar cipher left shift of 3.svg
File:Skytala&EmptyStrip-Shaded.png
Skytala&EmptyStrip-Shaded.png
File:Al-kindi cryptographic.png
Al-kindi cryptographic.png
File:16th century French cypher machine in the shape of a book with arms of Henri II.jpg
16th century French cypher machine in the...
File:Encoded letter of Gabriel Luetz d Aramon after 1546 with partial deciphering.jpg
Encoded letter of Gabriel Luetz d Aramon...
File:Symmetric key encryption.svg
Symmetric key encryption.svg
File:International Data Encryption Algorithm InfoBox Diagram.svg
International Data Encryption Algorithm...
File:Public key encryption.svg
Public key encryption.svg
File:Diffie and Hellman.jpg
Diffie and Hellman.jpg
File:Private key signing.svg
Private key signing.svg
File:Enigma Machine at NSA.jpg
Enigma Machine at NSA.jpg

+ 1 more

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.