《电子商务安全实报告:rsa算法验证》由会员分享,可在线阅读,更多相关《电子商务安全实报告:rsa算法验证(10页珍藏版)》请在金锄头文库上搜索。
1、电子商务安全实验指导书电子商务安全实报告:RSA算法验证学校:学期:2015-2016学年/No.1学期班级: 学号: 姓名: 成绩: 一、实验目的1 深入理解RSA原理,特别是大数分解难题的原理2 明确选择RSA的参数p、q、e、d的条件,以及明文分段的条件3 掌握求逆元素和求高次幂的计算方法4 了解寻找素数的方法5 了解素数、同余类、欧拉函数、费马定理、欧拉定理二、实验环境1 PC机2 Windows2000/XP3 专用软件rsa.exe三、实验步骤1 正序实验(题目参阅四、实验记录)(1)选择p、q,计算n和(n)(2)选择e,检验e是否与(n)互素(3)计算d,验证d与e互逆(4)输
2、入明文M,加密得到密文C,解密恢复明文M,比对之2 反例验证(1)选择p或q不是素数(2)选择e不与(n)互素(3)错选d不与e互逆(4)明文分段不小于n3 计算对比(1)用扩展的欧几里德算法求逆元素(2)用折半法求同余类的高次幂4 查看解释(1)什么是素数?(2)需要多大的素数?(3)素数有穷尽吗?(4)能用素数表破解RSA吗?(5)素数的产生 (6)欧拉函数(7)费马定理和欧拉定理(8)什么叫互素?(9)乘法的同余运算(10)什么叫逆元素?(11)为什么一定有逆元素?(12)扩展欧几里德算法(13)验证e与d互逆(14)保密通信(15)数字签名(16)同余类的高次幂运算(17)RSA算法的
3、证明(18)公开什么?保守什么?四、实验记录(1)p=3;q=11;d=7;M=5(2)p=5;q=11;e=3;M=9(3)p=7;q=11;e=17;M=8(4)p=11;q=13;e=11;M=7(5)p=17;q=31;e=7;M=2五、实验结果1正序实验结果是否正确?正确2反例验证说明了什么?说明了正序是正确的3对比计算是否掌握了方法?是4查看解释有什么新发现?没有六、问题1通过本实验,你发现了什么新的东西?这个软件使用JavaScript嵌在网页中。2在实验过程中,你发现了什么异常的现象?用RSA算法软件计算e时,会出现不一样的值。3本实验有哪些地方是需要改进的?可选的数太少。4你
4、还有什么新的设想和建议?界面不够美观。escria de fang i el collapse del sl cos, una vegada ms a poc a poc va proposar collapse local de paret de ranura, o ha trobat underground edificis era targeta en directe, es plataforma enterrat quota de fang de control directe, demostrat obstacles i oportuna tramitaci Argila plsti
5、c conixer aigua expansi, psiquiatre de paret de ranura Conca trepant doblegat tamb obliqua ranura tenia gran en argila plstica en la perforaci o ranura forat elements obliqua pensen que ha escombrat sovint superiors i inferiors forat corregit marc trepant (perforaci al quadre guia plataforma era ran
6、ura paret sl cos viu, suport local no perforaci) mica desgast seris, mica dimetre redut, causat amplada de forat de ranura variable fa petit, quadre guia es va posar en directe no pot TALADRAR mica dimetre ha que guia caixa mplia 20 30 mm; poc desgast greu ha de omplir oportuna soldadura major plata
7、forma tallat xip pala vertical ganivet o costat per tirar la fallada del dispositiu, o conixer la capa de pedra de sl dur , Poder insuficient, tallar a auxiliars dimpacte Trepant trencat Hou nou perforaci va continuar ensorrat construcci de paret contnua taula 1.1 del problema i la paret de ranura d
8、e processament (paret forat local es va ensorrar nivell sobte declinat, orifici prendreadvantages, facing the Yangtze River Delta, Pearl River Delta, Shandong peninsula, Beijing-Tianjin-Tangshan area, targeted investment promotion several times. Industry-led unit and various town streets are develop
9、ing detailed promotion plans, the basis of what is specific to each industry, has formed a kind of scale, need to bring in the kind of projects each town street has the kind of resources, what location, focus on the development of the kind of industries. Four stroke technology and science. Determina
10、nts of technology is the Countys economic development through scientific and technological innovation, improve product value-added and improve economic competitiveness, is the inevitable way to achieve leapfrog development. Talent is the city center citys first resource, is the primary industry deve
11、lopment, and revitalization of the social protection. So, in terms of skills: to catch . Competitive. Encouraging enterprises to actively undertake science and technology projects, strengthening research cooperation, using advanced technology to increase the added value of their products to ensure t
12、hat introduction of transforming scientific and technological achievements during the year . . New research enterprises . . Home, creating innovative platforms . . Generic classifier. In: first, we must strengthen the cultivation of talent, efforts to increase vocational education and training and m
13、eet the basic demand of enterprise development. Then introduced a number of the county needed scarce education, health professionals, meet social development needs to invest more in machinery, pharmaceutical manufacturing research and development in higher education, such as the introduction of talent to meet the need. Third, we must rely on . . Post-doctoral workstation, . . Food research station platform, to the XX University to find experts第一次实验:RSA算法验证实验 Page 9 of 10