把一篇英语文章的所有aeiou替换成t,它还有可能被完全破译吗?

发布时间:
2024-06-23 01:56
阅读量:
10

只进行元音替换还不算困难。

例如一个常规的句子:

I enjoy reading books and listening to music.

替换后的句子如下:

T tnjty rttdtng bttks tnd ltsttnntng tt mtstc.

ChatGPT 可以轻松通过密文猜出原文,因为句子的结构没有改变,这些单词也容易依靠辅音区分,例如 ltsttnntng。部分表音语言在书写时(例如阿拉伯语、希伯来语)也有忽略元音的现象,因为单词的根词干都是由辅音组成的,辅音组合就能够表达出词的基本意思,元音夹在根词干内则用来构成语法形式和各种不同的派生词。

但是在这种替换的基础上再进行加密,例如简单的单表代换加密,那么破解常用的字母频率分析就不太容易进行了。

例如我们将一段文本分别进行单表替换和元音替换+单表替换:

原文:

When in the course of human events, it becomes necessary for one people todissolve 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 Nature and Nature’s God entitle them, a decent respect to the opinions of mankind requires that they should declare the causes which impelthem to the separation.

单表替换(字母表后移一位,例如a变成b,z变成a):

Xifo jo uif dpvstf pg ivnbo fwfout, ju cfdpnft ofdfttbsz gps pof qfpqmf upejttpmwf uif qpmjujdbm cboet xijdi ibwf dpoofdufe uifn xjui bopuifs, boe up bttvnf bnpoh uif qpxfst pg uif fbsui, uif tfqbsbuf boe frvbm tubujpo up xijdi uif mbxt Obuvsf boe Obuvsf’t Hpe foujumf uifn, b efdfou sftqfdu up uif pqjojpot pg nboljoe sfrvjsft uibu uifz tipvme efdmbsf uif dbvtft xijdi jnqfmuifn up uif tfqbsbujpo.

元音替换:

Whtn tn tht cttrst tf htmtn tvtnts, tt btctmts ntctsstry ftr tnt pttplt ttdtsstlvt tht ptltttctl btnds whtch htvt ctnntcttd thtm wtth tntthtr, tnd tt tsstmt tmtng tht ptwtrs tf tht ttrth, tht stptrttt tnd tqttl stttttn tt whtch tht ltws Ntttrt tnd Ntttrt’s Gtd tntttlt thtm, t dtctnt rtsptct tt tht tptnttns tf mtnktnd rtqttrts thtt thty shttld dtcltrt tht cttsts whtch tmptlthtm tt tht stptrttttn.

元音替换+单表替换:

Xiuo uo uiu duustu ug iunuo uwuout, uu cudunut ouduttusz gus uou quuqmu uueuttumwu uiu qumuuudum cuoet xiudi iuwu duoouduue uiun xuui uouuius, uoe uu uttunu unuoh uiu quxust ug uiu uusui, uiu tuqusuuu uoe uruum tuuuuuo uu xiudi uiu muxt Ouuusu uoe Ouuusu’t Hue uouuumu uiun, u euduou sutqudu uu uiu uquouuot ug nuoluoe suruusut uiuu uiuz tiuume eudmusu uiu duutut xiudi unqumuiun uu uiu tuqusuuuuo.

参考字母频率表

单表替换,可以明显看到e-f , t-u

元音替换+单表替换:识别比较困难

不过密文大量出现的 u 容易让人猜测多个字母被映射到了u上,映射而不大量失真的方案就包括元音替换、不常用的字母(x、z)替换等等,从而反推得到这个加密的过程。

此外如上文所说,忽略元音导致这种替换方式不是一一映射的,容易失真,例如密文:

Tht ctt stt tn tht mtt.

可以解释出两种含义

1. The cat sat on the mat.(猫站在毯子上)
2. The cot set on the mat. (行军床被设在毯子上)

所以并不适合作为一种可靠的加密方式。

END