Log in Sign up
Back to Discover
💻

Cryptography

technology Maturity 9-11 Vital Level 3

We can hide our words.

Caesar cipher left shift of 3.svg
Caesar cipher left shift of 3.svg
We use a secret way to write. This makes the words look like nonsense. It helps keep our notes safe. Only friends know the secret. Do you have a secret code?

42 words

People use secret ways to write.

Caesar cipher left shift of 3.svg
Caesar cipher left shift of 3.svg
This turns real words into nonsense. It keeps a message safe from others.

To read the note, you need a secret key. This key is like a special rule. The rule helps you change the nonsense back.

Symmetric key encryption.svg
Symmetric key encryption.svg

One person sends the message. They share the key only with a friend. This way, no one else can read it.

Long ago, leaders used these tricks. They used them for spies and wars.

Today, we use these secrets for computers. They help keep our passwords safe. It is a clever way to talk.

107 words

Cryptography is the study of secret writing.

Caesar cipher left shift of 3.svg
Caesar cipher left shift of 3.svg
It helps people send private messages. This way, others cannot read them.

There are two main steps. The first step is encryption. This turns real words, called plaintext, into nonsense. We call this nonsense ciphertext. The second step is decryption. This is the reverse way. It turns the nonsense back into real words.

Symmetric key encryption.svg
Symmetric key encryption.svg

To do this, you need a key. A key is a secret rule. Without the key, the message is hard to read. Some systems use one key for both steps. This is called symmetric encryption. Other systems use two different keys. One key is public. The other key is private. This is called asymmetric encryption.

Public key encryption.svg
Public key encryption.svg

People have used these tricks for a long time. Julius Caesar used a simple shift. He moved letters three places down the alphabet. Ancient Greeks used a tool called a scytale. Today, we use math to keep computers safe. It protects our passwords and money.

173 words

Cryptography is the study of secret writing.

Caesar cipher left shift of 3.svg
Caesar cipher left shift of 3.svg
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.svg
Symmetric key encryption.svg

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.svg
Public key encryption.svg
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. 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.png
Al-kindi cryptographic.png

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.jpg
Diffie and Hellman.jpg
This allows people to talk safely without sharing a secret first.

Modern cryptography is built on very hard math.

Enigma Machine at NSA.jpg
Enigma Machine at NSA.jpg
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.

359 words

Cryptography is the scientific study of techniques for secure communication.

Symmetric key encryption.svg
Symmetric key encryption.svg
It involves constructing and analyzing protocols that prevent third parties from reading private messages. This field sits at the intersection of many complex disciplines. These include mathematics, computer science, information security, electrical engineering, and physics. Modern cryptography ensures data confidentiality, which means keeping information private. It also provides data integrity to ensure messages are not changed. Furthermore, it handles authentication to prove identities and non-repudiation to confirm actions. Today, these processes protect electronic commerce, chip-based payment cards, and digital currencies.
Public key encryption.svg
Public key encryption.svg

The core mechanism of cryptography involves a process called encryption. This converts readable information, known as plaintext, into unintelligible nonsense called ciphertext. To read the message, the recipient must perform decryption. This is the reverse process that turns ciphertext back into plaintext. A cipher is the pair of algorithms that carries out these two steps. The operation of a cipher is controlled by an algorithm and a key. A key is a secret string of characters used to unlock the message. Without the correct key, the ciphertext remains unreadable to an adversary. In formal terms, a cryptosystem includes the plaintexts, ciphertexts, keys, and the algorithms used.

Caesar cipher left shift of 3.svg
Caesar cipher left shift of 3.svg

Cryptosystems are generally divided into two main types: symmetric and asymmetric. In a symmetric system, the same secret key is used for both encryption and decryption. This method is significantly faster for data manipulation than other methods. A common example of a secure symmetric algorithm is the Advanced Encryption Standard, or AES.

International Data Encryption Algorithm InfoBox Diagram.svg
International Data Encryption Algorithm InfoBox Diagram.svg
Asymmetric systems, which became known in the 1970s, work differently. They use a public key to encrypt a message and a related private key to decrypt it. The advantage is that the public key can be shared openly. This allows parties to establish secure communication without a pre-shared secret. Examples of asymmetric systems include RSA and Elliptic Curve Cryptography, or ECC. In practice, asymmetric systems often exchange a secret key first. Once the key is shared, the parties switch to a faster symmetric system.

History shows that cryptography has evolved from simple shifts to complex machines. Ancient civilizations used various methods to hide information. The Caesar cipher is a famous early substitution cipher. In this method, each letter is replaced by one a certain number of positions down the alphabet. Julius Caesar reportedly used a shift of three to communicate with his generals. The Greeks used a device called a scytale for transposition ciphers. A transposition cipher rearranges the order of letters rather than replacing them.

16th century French cypher machine in the shape of a book with arms of Henri II.jpg
16th century French cypher machine in the shape of a book with arms of Henri II.jpg
During World War I and II, rotor cipher machines became much more complex. These machines, like the Enigma, changed how messages were encoded.
Enigma Machine at NSA.jpg
Enigma Machine at NSA.jpg
These technological leaps moved cryptography from manual methods to mechanical and digital ones.

Many different cultures contributed to the development of these secrets. The earliest known use of cryptography appears as carved ciphertext on stone in Egypt. In India, the 2000-year-old Kama Sutra describes two types of ciphers called Kautiliyam and Mulavediya. Kautiliyam uses substitutions based on phonetic relations, like vowels becoming consonants. Mulavediya uses a cipher alphabet of paired letters. Modern cryptology found significant roots among the Arabs. Al-Khalil wrote the Book of Cryptographic Messages between 717 and 786. He was among the first to systematically document cryptanalytic methods.

Al-kindi cryptographic.png
Al-kindi cryptographic.png
Cryptanalysis is the study of how to break these codes without the key. This study is essential for testing how strong a system truly is.

The importance of cryptography is seen in its modern security standards. Most modern algorithms are designed around computational hardness assumptions. This means they are built to be too difficult for any adversary to break in practice. Such systems are described as being computationally secure. While it is theoretically possible to break them, it is infeasible with current technology. However, designers must constantly adapt to new challenges. Faster computing and better mathematical algorithms, like improvements in integer factorization, require constant updates. There are also information-theoretically secure schemes, such as the one-time pad. These cannot be broken even with unlimited computing power, but they are very difficult to use in practice.

Cryptography also connects to many legal and social issues in the Information Age. Because it can be used for espionage, some governments classify it as a weapon. This has led to limits or prohibitions on its use and export in some places. In certain jurisdictions, investigators can legally compel people to disclose encryption keys. Cryptography also plays a major role in digital rights management. This involves disputes regarding copyright infringement for digital media. As technology grows, the balance between privacy and law continues to be a central debate in our digital world.

804 words
🖼️ 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

Up Next
💻
Encryption
Technology
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.