仿射密码
仿射密码是一种替换密码。它是一个字母对一个字母的。
它的加密函数是,其中
-
和
互质。
-
是字母的数目。
解码函数是,其中
是
在
群的乘法逆元。
仿射密码 为 单表加密的一种,字母系统中所有字母都藉一简单数学方程加密,对应至数值,或转回字母。 其仍有所有替代密码之弱处。所有字母皆借由方程 加密,
为移动大小。
单词 | Affine cipher |
释义 |
Affine cipher
中文百科
仿射密码仿射密码是一种替换密码。它是一个字母对一个字母的。 它的加密函数是
解码函数是 仿射密码 为 单表加密的一种,字母系统中所有字母都藉一简单数学方程加密,对应至数值,或转回字母。 其仍有所有替代密码之弱处。所有字母皆借由方程
英语百科
Affine cipher 仿射密码The affine cipher is a type of monoalphabetic substitution cipher, wherein each letter in an alphabet is mapped to its numeric equivalent, encrypted using a simple mathematical function, and converted back to a letter. The formula used means that each letter encrypts to one other letter, and back again, meaning the cipher is essentially a standard substitution cipher with a rule governing which letter goes to which. As such, it has the weaknesses of all substitution ciphers. Each letter is enciphered with the function (ax + b) mod 26, where b is the magnitude of the shift. |
随便看 |
|
英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。