豬圈密碼
豬圈密碼(英語:),亦稱共濟會密碼()或 共濟會員密碼(),是一種以格子為基礎的簡單替代式密碼。即使使用符號,也不會影響密碼分析,亦可用在其它替代式的方法。右邊的例子,是把字母填進格子的模樣。

上圖,是豬圈密碼用符號与26个字母作的密碼配對。
範例
若使用範例的關鍵字,則明文“X marks the spot”的加密結果將呈現如下:

參考文獻
- David Kahn, The Codebreakers. The Story of Secret Writing. Macmillan, 1967.
- David E. Newton, "Freemason's Cipher" in Encyclopedia of Cryptology, 1998, ISBN 0-87436-772-7.
- Martin Gardner, Codes, ciphers and secret writing, 1972, ISBN 0-486-24763-9.
- Sarah Wray, The Trap, book, code breaking; 2008
注脚
- Kahn, 1967, p.~772; Newton, 1998, p. 113
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.