凯撒密码编码与解码工具
使用凯撒密码对文本进行编码或解码:按固定位移替换字母。
如何使用本工具
- 1
Type or paste your message into the text area.
- 2
Drag the Shift slider to pick a key from -25 to +25; the default is 3.
- 3
Read the transformed text in the gray output box, which updates instantly as you type or move the slider.
- 4
To decode a message, set the shift to the negative of the value used to encode it (for example, use -3 to undo a +3 shift).
什么是凯撒密码?
凯撒密码是已知最古老的加密方法之一,可追溯到公元前50年左右尤利乌斯·凯撒的军事通信。每个字母在字母表中按固定的位置数进行位移。由于只有25种可能的密钥,它极易被破解,但作为讲解密码学基础的工具却非常出色。
常见使用场景
Teaching cryptography basics in a classroom by letting students watch each letter shift in real time.
Solving or creating Caesar-cipher puzzles in escape rooms, ARGs, and CTF challenges.
Decoding ROT13 text from forums or email by setting the shift to 13 or -13.
Brute-forcing an unknown shift: scrub the slider through all 25 values until readable text appears.
Generating lightly obfuscated spoiler text or hint answers that readers must shift back to reveal.
Prototyping and debugging encode/decode logic before wiring up a stronger cipher in your own code.
常见问题
位移13是什么?▼
相关工具
ROT13编码与解码工具
使用ROT13对文本进行编码或解码:一种位移13位、且自身互逆的凯撒密码。
摩尔斯电码翻译器
在文本与国际摩尔斯电码之间相互翻译。
二进制翻译器
将文本转换为二进制代码,或进行反向转换。每个字符都会转换为其8位的ASCII表示。
WordPress密钥生成器
为你的wp-config.php生成全新的认证密钥和salt:使用crypto.getRandomValues()在你的浏览器中运行。
密码哈希生成器(PBKDF2)
使用PBKDF2-SHA256在你的浏览器中生成安全的密码哈希。比MD5或简单SHA更强,工作因子可调。
HMAC生成器
使用SHA-1、SHA-256、SHA-384或SHA-512生成HMAC签名。