文件名称:Vigenère
介绍说明--下载内容均来自于网络,请自行研究使用
维吉尼亚算法的实现,构成
明文:每个字符惟一对应一个0~25间的数字。
密钥:一个字符串,其中每个字符同明文一样对应一个数字,代表位移值,如a 表示位移 0,b 表示位移 1,c 表示位移 2,...... )。
加密过程:
将明文数字串依据密钥长度分段,并逐一与密钥数字串相加(模26),得到密文数字串;
最后,将密文数字串转换为字母串。
-Virginia algorithm constitutes explicit: Each character corresponds to only a 0 ~ 25 figures. Key: a string, each of which express the same character with a corresponding figures represent the displacement values, such as a, said the displacement 0, b said displacement 1, c that the displacement of 2 ,......). Encryption process: to express the number of sub-series based on key length, and one by one with the string of key figures add up (modulus 26), has been the number of string ciphertext Finally, the figures ciphertext string converted to string letters.
明文:每个字符惟一对应一个0~25间的数字。
密钥:一个字符串,其中每个字符同明文一样对应一个数字,代表位移值,如a 表示位移 0,b 表示位移 1,c 表示位移 2,...... )。
加密过程:
将明文数字串依据密钥长度分段,并逐一与密钥数字串相加(模26),得到密文数字串;
最后,将密文数字串转换为字母串。
-Virginia algorithm constitutes explicit: Each character corresponds to only a 0 ~ 25 figures. Key: a string, each of which express the same character with a corresponding figures represent the displacement values, such as a, said the displacement 0, b said displacement 1, c that the displacement of 2 ,......). Encryption process: to express the number of sub-series based on key length, and one by one with the string of key figures add up (modulus 26), has been the number of string ciphertext Finally, the figures ciphertext string converted to string letters.
相关搜索: 维吉尼亚
(系统自动生成,下载前可以参看下载内容)
下载文件列表
miwen.txt
维吉尼亚.cpp
维吉尼亚.cpp