资源描述:
《信息安全与密码学上机报告》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、《信息安全与密码学》实验报告姓名:学号:学院:班级:成绩:2014年12月31日officiallyestablishedonJuly1,2013,Yibincity,formerlyknownasthebus,integratedoriginalrongzhoubuscompanyinYibincityandMetrobuscompany,formedonlyinYibincityofaState-ownedpublictransportenterprises,thecompanyconsist
2、sofoneortwo,thirdDivision.Integrationofpublictransportservicesisnotyetestablished53目 录1移位密码41.1算法原理41.2实现过程41.2.1程序代码41.2.2运行界面72置换密码82.1算法原理82.2实现过程92.2.1程序代码92.2.2运行界面113维吉尼亚密码123.1算法原理123.2实现过程133.2.1程序代码133.2.1运行界面174Eulid算法184.1算法原理184.2实现过程184.
3、2.1程序代码184.2.2运行界面195Eulid扩展算法205.1算法原理205.2实现过程20officiallyestablishedonJuly1,2013,Yibincity,formerlyknownasthebus,integratedoriginalrongzhoubuscompanyinYibincityandMetrobuscompany,formedonlyinYibincityofaState-ownedpublictransportenterprises,thecomp
4、anyconsistsofoneortwo,thirdDivision.Integrationofpublictransportservicesisnotyetestablished535.2.1程序代码205.2.2运行界面216素性检验226.1算法原理226.2实现过程226.2.1程序代码226.2.2运行界面247用DES算法完成数据的加密和解密257.1算法原理257.2算法程序307.2.1算法的功能类代码307.2.2窗体类代码327.3运行界面338RSA算法的计算机实现348.
5、1算法原理348.2算法程序358.2.1算法功能类代码358.2.2算法窗体代码368.3运行界面379PGP加密软件的应用389.1软件介绍389.2安装过程及主要界面389.3完成的主要功能419.3.1密钥的生成、传播和废除419.3.2数字签名459.3.3验证签名47officiallyestablishedonJuly1,2013,Yibincity,formerlyknownasthebus,integratedoriginalrongzhoubuscompanyinYibinci
6、tyandMetrobuscompany,formedonlyinYibincityofaState-ownedpublictransportenterprises,thecompanyconsistsofoneortwo,thirdDivision.Integrationofpublictransportservicesisnotyetestablished539.3.4对文件加密和解密(创建一个自解压文件)4810信息安全与密码学上机实践体会52officiallyestablishedonJ
7、uly1,2013,Yibincity,formerlyknownasthebus,integratedoriginalrongzhoubuscompanyinYibincityandMetrobuscompany,formedonlyinYibincityofaState-ownedpublictransportenterprises,thecompanyconsistsofoneortwo,thirdDivision.Integrationofpublictransportservicesis
8、notyetestablished531移位密码1.1算法原理密码体制令。对,任意,定义以及若取,则此密码体制通常叫做凯撒密码(CaesarCipher),因为它首先为儒勒·凯撒所使用。使用移位密码可以用来加密普通的英文句子,但是首先必须建立英文字母和模26剩余之间的一一对应关系:如。将其列表如下:ABCDEFGHIJKLM0123456789101112NOPQRSTUVWXYZ131415161718192021222324251.2实现过程1.2.1程序代码usingSyst