Nepedia
Back to Discover
Fluent Reader
💻

Encryption

technology Maturity 11-13 Next article →

Encryption is a way to hide information so only certain people can read it. It turns a message, called plaintext, into a scrambled form called ciphertext. This does not stop someone from seeing the message. Instead, it makes the content impossible to understand. To turn the nonsense back into a real message, you need a special tool called a key. An algorithm, which is a set of rules, helps create these keys.

Public key encryption keys
Public key encryption keys

Using these tools helps keep secrets safe from people who should not see them.

There are two main ways that encryption works. In a symmetric-key system, the same key is used to both lock and unlock the message. Both people must have this exact same key to talk privately. Another way is called public-key cryptography. In this system, anyone can use a public key to lock a message. However, only the person with the private decryption key can open it. This makes it very useful for sending information to people you have never met.

People have used secret codes for a very long time. One of the oldest ways was symbol replacement. This was found in the tomb of Khnumhotep II in Egypt around 1900 BC. Later, the Caesar cipher became famous for military use. This method shifts letters a certain number of spots in the alphabet. In 800 AD, a mathematician named al-Kindi found a way to crack these codes. He used frequency analysis to look at how often letters appeared in a message.

In the 1900s, machines were built to handle harder tasks. Thomas Jefferson thought of the Wheel Cipher, which used a spool to jumble letters. In 1917, Major Joseph Mauborne made the M-94 device for the US Army. During World War II, the Axis powers used the Enigma Machine. This machine was very complex because the letter combinations changed every single day. The Allies eventually used computing power to help break the Enigma code.

Today, encryption is everywhere in our digital world. It protects your passwords and bank information when you use the internet. This is called protecting data in transit. It also protects data at rest, like files on a USB drive. Modern standards like AES use very large keys to stay safe. Some keys are so big that they cannot be broken by guessing.

Public key encryption keys
Public key encryption keys

Even as computers get faster, new encryption keeps growing to stay ahead.

398 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (1)
File:Public key encryption keys.svg
Public key encryption keys.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.