文件名称:1001Message-encryption
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:832.5kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本次我们完成一个简单的对字母加密程序。首先对字母进行编号,小写字母a至z编号为1至26,大写字母A至Z分别编号27至52,这样每个字母都有唯一的一个序号,在发送内容时,我们以函数F(X)=X*X+X+1对发送字母的序号进行计算,就会获取个新的序号,对该序号再进行对52取余,该序号即为加密后的要发送字母的序号,这样就能达到加密的作用。-This time we complete a simple encryption program on the letter. First letter number and the lowercase letters a to z No. 1-26, the uppercase letters A to Z are numbered 27-52, so that each letter has a unique serial number when sending content, the function of the F (X ) = X* X+X+1 send letters serial number calculation, it will obtain a new serial number, the serial number and then the remainder of 52, the serial number is the serial number you want to send encrypted letters, so that we can achieve encryption role.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
题1(2)/Cpp1.cpp
题1(2)/Cpp1.dsp
题1(2)/Cpp1.dsw
题1(2)/Cpp1.ncb
题1(2)/Cpp1.opt
题1(2)/Cpp1.plg
题1(2)/Debug/Cpp1.exe
题1(2)/Debug/Cpp1.ilk
题1(2)/Debug/Cpp1.obj
题1(2)/Debug/Cpp1.pch
题1(2)/Debug/Cpp1.pdb
题1(2)/Debug/vc60.idb
题1(2)/Debug/vc60.pdb
题1(2)/Debug
题1(2)
题1(2)/Cpp1.dsp
题1(2)/Cpp1.dsw
题1(2)/Cpp1.ncb
题1(2)/Cpp1.opt
题1(2)/Cpp1.plg
题1(2)/Debug/Cpp1.exe
题1(2)/Debug/Cpp1.ilk
题1(2)/Debug/Cpp1.obj
题1(2)/Debug/Cpp1.pch
题1(2)/Debug/Cpp1.pdb
题1(2)/Debug/vc60.idb
题1(2)/Debug/vc60.pdb
题1(2)/Debug
题1(2)
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.