Atbash Cipher
Encode and decode messages using the ancient Atbash substitution cipher, reversing the alphabet so that A maps to Z, B maps to Y, and C maps to X.
상세 계산 과정
Atbash Cipher 소개 및 원리
The Atbash cipher is an ancient monoalphabetic substitution cipher originally developed for the 22-letter Hebrew alphabet. Its name derives from the first, last, second, and second-to-last letters of the Hebrew alphabet: Aleph (A), Tav (T), Beth (B), and Shin (Sh)—representing the substitution pattern A↔T and B↔Sh.
When applied to the 26-letter Latin alphabet, Atbash mirrors the alphabet symmetrically: the 1st letter (A) swaps with the 26th letter (Z), the 2nd letter (B) swaps with the 25th letter (Y), and the 13th letter (M) swaps with the 14th letter (N).
Like ROT13, the Atbash cipher is an involution (a self-inverting function): running ciphertext through Atbash a second time immediately restores the plaintext.
도구 사용 방법
- 입력 필드에 변환할 값 또는 텍스트를 입력합니다.
- 필요에 따라 변환 옵션 및 방향을 설정합니다.
- 변환 결과가 실시간으로 즉시 생성됩니다.
- 복사 버튼을 클릭하여 결과를 클립보드에 복사합니다.
Mathematical Formula for Atbash
For the Latin alphabet mapped to indices 0 through 25 (A=0, Z=25):
$E(x) = D(x) = (25 - x) \pmod{26}$
This ensures that A (0) maps to Z (25), and Z (25) maps to A (0). Casing and punctuation marks are preserved.
Atbash Cipher Examples
Biblical Reference & Greeting
Encrypting "HELLO" using alphabet reversal.
Full Sentence Transformation
Translating "PEACE ON EARTH" with Atbash.
Self-Reversing Property
Applying Atbash to "SVOOL" recovers "HELLO".
Atbash Alphabet Mirror Table
| Plain | Atbash | Plain | Atbash |
|---|---|---|---|
| A–M | Z–N | N–Z | M–A |
| A ↔ Z | B ↔ Y | C ↔ X | D ↔ W |
| E ↔ V | F ↔ U | G ↔ T | H ↔ S |
| I ↔ R | J ↔ Q | K ↔ P | L ↔ O |
| M ↔ N |
Key Space & Vulnerability
- Atbash has no variable key ($k$ is fixed to the reversed alphabet), so it provides no cryptographic resistance against someone who recognizes the pattern.
자주 묻는 질문
What is the Atbash cipher?
How to solve the Atbash cipher?
What are Atbash cipher codes?
When was the Atbash cipher invented?
관련 도구
Rotate letters by 13 positions in the alphabet. Self-inverse symmetric substitution.
Shift letters along the Latin alphabet by a configurable key offset (1–25).
Mathematical substitution cipher: E(x) = (ax + b) mod 26 using coprime multiplier and shift.