博客源代码整理处,转载请标明出处。如果你觉得有帮助,可以点赞(左上角的Star)来支持博主。
Zkhq l xvh d zrug, lw phdqv mxvw zkdw l fkrrvh lw wr phdq -- qhlwkhu pruh qru ohvv.
| Algorithms | name | C | Python | Javascript |
|---|---|---|---|---|
| ADFG(V)X | ... | ... | ... | ... |
| Affine cipher | 仿射密码 | Affine.c | Affine.py | ... |
| Alberti cipher | 阿尔伯蒂密码 | ... | ... | Alberti.js |
| AMSCO | ... | ... | ... | ... |
| AtBash | ... | ... | ... | ... |
| Autokey | 自动密匙密码 | Autokey.c | ... | Autokey.js |
| Bacon's cipher | 培根密码 | ... | Bacon.py | Bacon.js |
| Base64 | Base64编码 | ... | ... | Base64.js |
| Beaufort | 博福特密码 | ... | ... | ... |
| Bifid cipher | 二分密码 | ... | Bifid.py | ... |
| Caesar | 凯撒密码 | Caesar.c | Caesar.py | Caesar.js |
| Chaocipher | ... | ... | ... | ... |
| Columnar Transposition | ... | ... | ... | ... |
| Double Transposition | 双层置换密码 | ... | ... | Transposition.js |
| Enigma | ... | ... | ... | ... |
| Four-Square cipher | 四方密码 | ... | Four-Square.py | Four-Square.js |
| Freemason | ... | ... | ... | ... |
| Gronsfeld | ... | ... | ... | ... |
| Keyed Caesar | ... | ... | ... | ... |
| Hill cipher | 希尔密码 | ... | Hill.py | ... |
| Kamasutra cipher | 欲经密码 | ... | Kamasutra.py | Kamasutra.js |
| Larrabee | ... | ... | ... | ... |
| Homophonic | ... | ... | ... | ... |
| Morse Code | 摩斯密码 | ... | ... | Morse.js |
| Multiplicative | ... | ... | ... | ... |
| Navajo | ... | ... | ... | ... |
| Nihilist | ... | ... | ... | ... |
| Playfair cipher | 波雷費密碼 | ... | Playfair.py | Playfair.js |
| Pollux | ... | ... | ... | ... |
| Polybius square | 波利比烏斯(棋盘密码) | Polybius.c | Polybius.py | Polybius.js |
| Porta cipher | 波尔塔密码 | ... | Porta.py | Porta.js |
| Railfence | ... | ... | ... | ... |
| ROT-13 | ROT-13 | ROT13.c | ROT13.py | ROT13.js |
| Scytale | ... | ... | ... | ... |
| Skip | ... | ... | ... | ... |
| Templar | ... | ... | ... | ... |
| Transposition cipher | 置换密码 | Transposition.c | Transposition.py | Transposition.js |
| Trifid cipher | 三分密码 | ... | ... | ... |
| Trithemius | ... | ... | ... | ... |
| Two-square cipher | 二方密码 | ... | ... | ... |
| Vigenère | 维吉尼亚密码 | Vigenere.c | Vigenere.py | Vigenere.js |
| Zigzag (Rail Fence) | ... | ... | ... | ... |
代码中如果有偏差谬误欢迎在在 Issue 中讨论指出,当然 PR 也十分欢迎的。
| 英文 | 翻译 |
|---|---|
| Double Transposition | 双层置换为博主自译, 未找到 wiki 之类的官方翻译。 |
| ROT-13 | 未找到合适翻译 |
| Kamasutra cipher | 欲经密码为博主自译, 未找到 wiki 之类的官方翻译。 |
| Porta cipher | 波尔塔密码为博主自译, 未找到 wiki 之类的官方翻译。 |
如果有更正式的翻译也请在 Issue 中讨论指出