BACONIAN CIPHER

Baconian cipher, five symbols per letter.

Each letter becomes 5 symbols of “A/B” (or 0/1); you can also decode ciphertext back to text. A classic steganography trick and CTF favorite.

Most tools process data locally; see this page for details

What is this?

The Baconian cipher encodes each letter as 5 bits (shown as A/B or 0/1), e.g. A=AAAAA, B=AAAAB. Encoding converts A–Z and ignores other characters; decoding reads groups of five (I/J and U/V share a code, per the traditional table).

FAQ

Why are I and J the same?

The traditional Baconian alphabet has 24 letters, so I/J and U/V share a code — a historical quirk and a common CTF trap.

Is anything uploaded?

No. Everything runs in your browser; nothing is sent to a server.

示例与注意事项Example & notes

一个例子A worked example

把一句话编成培根密码:A 就是 a、B 就是 b,空格和标点可以忽略;26 个字母对应一串 0/1,既能加壳也能解回明文,适合玩猜谜与简单加密练习。Encode a sentence in Baconian cipher: A is a, B is b, spaces and punctuation can be ignored; the 26 letters map to a string of 0s and 1s that can be both encoded and decoded — handy for puzzles and light cryptography practice.

注意事项Things to watch

相关问答More Q&A

培根密码怎么用?How do I use the Bacon cipher?

明文编码:把每个字母换成 5 位 0/1;密文解码:输入 0/1 串或整段只有 a/b 的文本,工具按 5 位一组还原成字母。To encode, replace every letter with five 0/1 bits; to decode, paste a 0/1 string or a text made only of a and b, and it reads five bits at a time back into letters.

和二进制编码有什么关系?How does it relate to binary encoding?

培根密码是 26 字母版的 5 位二进制编码:a/b 两种符号正好对应 0/1 两种比特,只是早期用两个字母代替数字来写。Baconian is a 5-bit binary encoding for 26 letters: the two symbols a and b stand for the two bits, originally written as letters before binary notation was convenient.

Further reading

觉得好用?Found it useful?