The Atbash cipher is a simple substitution cipher that reverses the alphabet.
This means the first letter of the alphabet is replaced with the last letter, the second letter is replaced with the second-to-last letter, and so on.
In the Atbash cipher:
The name Atbash comes from the Hebrew alphabet.
In the original version, the first letter was replaced with the last letter, and the second letter was replaced with the second-to-last letter.
The same idea can be used with the English alphabet.
| Plain Letter | Cipher Letter | Plain Letter | Cipher Letter |
|---|---|---|---|
| A | Z | N | M |
| B | Y | O | L |
| C | X | P | K |
| D | W | Q | J |
| E | V | R | I |
| F | U | S | H |
| G | T | T | G |
| H | S | U | F |
| I | R | V | E |
| J | Q | W | D |
| K | P | X | C |
| L | O | Y | B |
| M | N | Z | A |
To encrypt a message using Atbash:
Original message:
Using Atbash:
Encrypted message:
Original message:
Use the Atbash chart:
Encrypted message:
So:
One interesting thing about Atbash is that encryption and decryption use the same process.
If:
Then:
You just reverse each letter again.
The original readable message.
The encrypted message.
The process of changing plaintext into ciphertext.
The process of changing ciphertext back into plaintext.
A cipher where one letter is replaced with another letter. The Atbash cipher is a substitution cipher because each letter is substituted with another letter.
Atbash is easy because it follows one simple rule:
There is no key number like the Caesar cipher.
There is no keyword like the Vigenère cipher.
The pattern is always the same.
The Atbash cipher is weak because:
The Atbash cipher is useful for learning basic encryption ideas, but it should not be used for real security.
Modern cybersecurity uses much stronger encryption methods, such as:
Atbash is a good classroom example because it shows how encryption can hide a message, but it also shows why simple patterns are not secure.
Encrypt:
Solution:
Answer:
Encrypt:
Solution:
Answer:
Decrypt:
Solution:
Answer:
| Plaintext | Ciphertext |
|---|---|
| CODE | |
| JAVA | |
| CYBER | |
| SCHOOL | |
| SECURITY |
| Ciphertext | Plaintext |
|---|---|
| ZKKOV | |
| XZGH | |
| KZHH | |
| HVXIVG | |
| XLWV |
What does the Atbash cipher do to the alphabet?
Answer: It reverses the alphabet.
What does A become in Atbash?
Answer: Z
What does B become in Atbash?
Answer: Y
What type of cipher is Atbash?
Answer: A substitution cipher.
Is Atbash strong enough for modern cybersecurity?
Answer: No. It is very weak and easy to break.
The Atbash cipher is a simple substitution cipher that reverses the alphabet.
It is easy to learn and easy to use.
However, it is also very weak because the pattern is simple and always the same.
Atbash is useful for learning about encryption, but it should not be used to protect real information.