✔ 最佳答案
畢爾密碼 Beale Ciphers
在十九世紀初,探險家畢爾在美國西部冒險時,發現了大量的寶藏.過後,他就把寶藏埋在一個不為人知的地方.然後他寫了一篇關於寶藏埋藏地點和寶藏內容的文章 (Plaintext),並進行加密.加密所用的鑰匙 (secret key) 就是美國的獨立宣言 (Declaration of Independence) .
加密的方法如下:
加密之前先由頭至尾將整篇獨立宣言的每個單字由數字1開始依序編號.要加密時,將原文中的每個字母以宣言中某個以此字母開頭的單字所對應到的數字取代.
擧個例子,獨立宣言的開頭一小段是...
When, in the course of human events, it becomes necessary for one people to dissolve the political bands which have connected them with another, and to assume among the powers of the earth, the separate and equal station to which the laws of nature and of nature's God entitle them, a decent respect to the opinions of mankind requires that they should declare the causes which impel them to the separation.
所以, [ w ] 可以是 1 (when), 19 (which), 23 (with), ...
而, [ i ] 可以是 2 (in), 8 (it), ...
如果我的原文是「the entao」的話,我的密文可以是「3, 6, 7, 37, 44, 16, 27, 56」.
在中文裡,也有類似的方法,就是將文字以諧音的數字來取代.當然,這只常見於網上聊天室或短訊.比如,1314 = 一生一世,3399 = 長長久久,520 = 我愛你,等等.那麼,下面這段話,你們明白嗎?