Atbash 密码 — 反向字母表解码器和编码器

Atbash 密码是已知最古老的密码之一——一种反向字母替换,将 A↔Z、B↔Y、C↔X 依此类推。该密码最初用于包括《圣经》在内的古希伯来文本,是一种自逆的单字母镜像密码:同一操作既可加密又可解密。使用此免费工具即时转换任何消息。

"HELLO""SVOOL"(Mirror)
双向- 加密和解密过程相同
结果
0 字符
字符集:
字母数字特殊字符

字符映射

字母映射(A ↔ Z)

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
N
M
O
L
P
K
Q
J
R
I
S
H
T
G
U
F
V
E
W
D
X
C
Y
B
Z
A

Advanced Atbash Cipher Tools

Frequently Asked Questions About Atbash Cipher

What is the atbash formula?

The Atbash formula reverses the alphabet: position = alphabet_length - 1 - original_position. For English, A (position 0) becomes Z (position 25), B becomes Y, etc.

What is atbash used for?

Originally used in Hebrew texts and biblical manuscripts, Atbash is now used for educational purposes, puzzles, and understanding classical cryptography principles.

How to use atbash code?

Simply replace each letter with its mirror position in the alphabet. A↔Z, B↔Y, C↔X, etc. Our online tool automates this process with real-time conversion.

What is the Atbash cipher technique?

Atbash is a monoalphabetic substitution cipher that maps each letter to its mirror position. It's self-inverse, meaning applying it twice returns the original text.

Where is Atbash found in the Bible?

Atbash appears in Jeremiah 25:26 where "Sheshach" (ששך) encodes "Babel" (בבל), and in Jeremiah 51:1 where "Leb Kamai" encodes "Kasdim" (Chaldeans).

Is Atbash secure for modern use?

No, Atbash offers no security against modern cryptanalysis. It has no key and can be easily broken through pattern recognition. It's valuable only for educational and historical purposes.

What is the Atbash cipher?

The Atbash cipher is a monoalphabetic substitution cipher that reverses the alphabet — A becomes Z, B becomes Y, C becomes X, and so on. It originated in ancient Hebrew cryptography and appears in the Bible (Book of Jeremiah). The name 'Atbash' comes from the Hebrew letters Aleph-Tav-Beth-Shin, representing the first-last-second-penultimate letter pairs. It requires no key and is self-inverse, meaning applying it twice returns the original text.

How do you decode an Atbash cipher?

To decode Atbash, replace each letter with its reverse-alphabet counterpart: A↔Z, B↔Y, C↔X, D↔W, and so on. Since Atbash is self-inverse, the decoding process is identical to encoding — just run the same substitution. For example, 'SVOOL' decodes to 'HELLO' because S→H, V→E, O→L, O→L, L→O. Our free online Atbash decoder does this conversion instantly for any length of text.

What is a reverse alphabet cipher?

A reverse alphabet cipher — also known as Atbash or mirror cipher — is an encryption method that maps each letter to its opposite position in the alphabet. The first letter (A) swaps with the last (Z), the second (B) with the second-to-last (Y), and so on through the entire alphabet. It is one of the simplest classical ciphers and serves as a foundation for understanding more complex substitution ciphers.

How is Atbash cipher different from Caesar cipher?

Atbash and Caesar are both monoalphabetic substitution ciphers, but they work differently. Atbash reverses the entire alphabet (A↔Z, B↔Y) and requires no key — there is only one possible Atbash alphabet. The Caesar cipher shifts each letter by a fixed number (e.g., shift 3: A→D, B→E), offering 25 possible keys. Caesar cipher is slightly more flexible due to the variable shift, while Atbash is always the same fixed substitution.

埃特巴什密码(Atbash Cipher):古希伯来镜像加密 - 免费在线工具

埃特巴什密码(希伯来语:אתבש)是人类历史上已知最古老的加密方法之一,可追溯至至少公元前500-600年。这种古希伯来密码最初由希伯来抄经士用于对圣经文本及其他重要文献中的敏感信息进行编码,是古典密码学古代加密技术的基石。

这种字母逆序密码又称镜像密码,因为它通过将每个字母替换为其在字母表中的镜像位置来实现加密。作为一种单表替换密码,埃特巴什密码代表了人类在安全通信信息隐藏方面最早的尝试。

什么是埃特巴什密码? — 古代加密方法解析

埃特巴什密码是一种单表替换密码,其原理是简单地颠倒字母表:第一个字母变为最后一个字母,第二个变为倒数第二个,以此类推。这种古代加密技术优雅简洁而又具有重要历史意义,非常适合用于密码学入门教育

名称的由来

"Atbash"这个词本身就体现了密码的原理,它由以下字母组合而成:

  • Aleph(א)—— 希伯来字母表第一个字母
  • Tav(ת)—— 希伯来字母表最后一个字母
  • Beth(ב)—— 希伯来字母表第二个字母
  • Shin(ש)—— 希伯来字母表倒数第二个字母

取这四个字母的首音:A-T-B-SH = Atbash

埃特巴什密码的工作原理

基本算法

转换规则十分直观:

原文:  A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
密文:  Z Y X W V U T S R Q P O N M L K J I H G F E D C B A

每个字母映射到其镜像位置:

  • 位置公式:对于位置为 i 的字母,加密后的位置 = alphabet_length - 1 - i
  • 英文示例:A(位置 0)→ Z(位置 25),B(位置 1)→ Y(位置 24)

免费在线埃特巴什密码工具 — 文本加密与解密

如何使用我们的埃特巴什编码/解码器

我们的免费在线埃特巴什密码工具在保留传统算法的基础上增加了现代便捷功能,实现轻松文本加密消息解码

  1. 双向文本处理:由于埃特巴什是自逆密码,同一操作既可加密也可解密
  2. 实时加密:输入时即可看到即时结果,非常适合快速编码
  3. 多字符集支持:超越字母范围,支持数字和符号加密
  4. 教育工具:非常适合密码学入门学习理解古代密码
字符集支持
字母(始终启用)
明文:  HELLO WORLD
密文:  SVOOL DLIOW
数字(可选)

启用后,数字同样进行镜像处理:

原始: 0 1 2 3 4 5 6 7 8 9
密文: 9 8 7 6 5 4 3 2 1 0

示例:
明文:  SECRET123
密文:  HVXIVG876
特殊字符(可选)

标点符号同样进行镜像处理:

原始: ! @ # $ % ^ & * ( )
密文: ) ( * & ^ % $ # @ !

示例:
明文:  HELLO, WORLD!
密文:  SVOOL, DLIOW)
字符映射显示

我们的工具会清晰展示每个字符的转换方式,使密码逻辑透明直观,便于学习理解。

埃特巴什密码示例与练习 — 学习消息加密

简单单词加密示例
CAT → XZG          (宠物动物)
DOG → WLT          (常见宠物)
LOVE → OLEZ        (情感词汇)
PEACE → KVZXV      (抽象概念)
HELLO → SVOOL      (问候语)
SECRET → HVXIVG    (隐秘消息)
完整句子编码
明文:  THE QUICK BROWN FOX JUMPS
密文:  GSV JFRXP YILDM ULC QFNKH

明文:  MEET AT DAWN FOR SECRET
密文:  NVVG ZG WZME ULI HVXIVG

明文:  ANCIENT HEBREW CIPHER CODE
密文:  ZMXRVMG SVYIVD XRKSVI XLWV

为什么要学习埃特巴什密码? — 教育与文化价值

尽管埃特巴什密码存在密码学上的弱点,它仍因以下方面保持重要价值:

  • 密码学教育:向初学者传授基本加密原理
  • 历史理解:连接古代加密历史
  • 谜题与游戏应用娱乐性密码学密码谜题
  • 文化与宗教研究:理解圣经密码历史文献
  • 学术研究:研究早期密码学方法古代通信方式

趣味知识

  • 历史:超过2500年历史,是人类已知最古老的密码之一
  • 自逆性:对已加密的消息再次加密即可解密
  • 零密钥:除了知道方法本身外,无需任何秘密信息
  • 通用性:适用于任何有定义顺序的字母表
  • 便捷性:完全可以不借助任何工具手工完成

相关密码方法与加密工具

如果您对埃特巴什加密感兴趣,欢迎探索以下相关密码技术

  • 凯撒密码: 简单的移位替换密码 — 非常适合密码学初学者
  • 凯撒密码自动解码器: 自动解密所有可能位移量的加密消息
  • ROT13: 现代13位旋转密码 — 在网络论坛中广泛使用,是凯撒密码的特例
  • 简单替换密码: 关键字字母表打乱 — 单表密码中安全性更高的变体
  • 仿射密码: 数学替换公式 — 结合乘法和加法,埃特巴什密码是其特例
  • 维吉尼亚密码: 多表加密 — 使用多个字母表替换以增强安全性
  • Playfair密码: 二元替换 — 以字母对而非单个字母为单位进行加密

延伸阅读

深入探索埃特巴什密码的迷人起源与密码分析: