




已阅读5页,还剩27页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Cryptography ,the block size is i bits, where 2i n= 2i+1C = Me mod nM = Cd mod n = (Me)d mod n = Med mod npublic key of KU = e, nprivate key of KR = d, nRequirementsIt is possible to find values of e, d, n such that Med = M mod n for all M n.It is relatively easy to calculate mod Me and Cd for all values of M n.It is infeasible to determine d given e and n.Med = M mod nAccording to Eulers theoremGiven two prime numbers p 1 e (n) (public, chosen)d =e-1(mod (n) (private, calculated)The private key consists of d, n and the public key consists of e, n.Suppose that user A has published its public key and that user B wishes to send the message M to A. Then B calculates C = Me mod n and transmits C. On receipt of this ciphertext, user A decrypts by calculating M = Cd mod n. Select two prime numbers, p = 17 and q = 11. Calculate n = pq = 17 x 11 = 187. Calculate (n) = (p - 1)(q - 1) = 16 x 10 = 160. Select e such that e is relatively prime to (n) = 160 and less than (n) we choose e = 7. Determine d such that de = 1 (mod 160) and d 160. The correct value is d = 23, because 23 x 7 = 161 = 160 + 1; d can be calculated using the extended Euclids algorithmRSA is usch slower than DES otherwise, go to step 2.Issues in RSARSA Factoring Challenge - practical difficulty of factoring large integers and cracking RSA keys used in cryptographyThe smallest , a 100 decimal digit number called RSA-100 was factored by April 1, 1991A primary application is for choosing the key length of the RSA public-key encryption scheme. The RSA numbers were generated on a computer with no network connection of any kind. The computers hard drive was subsequently destroyed so that no record would exist, anywhere, of the solution to the factoring challenge.The first RSA numbers generated, from RSA-100 to RSA-500, were labeled according to their number of decimal digitsDH Computation IssuesDiffieHellman key exchange (DH) is a cryptographic protocol that allows two parties that have no prior knowledge of each other to jointly establish a shared secret key over an insecure communications channel. This key can then be used to encrypt subsequent communications using a symmetric key cipher.Alice and Bob agree to use a prime number p=23 and base g=5. Alice chooses a secret integer a=6, then sends Bob A = ga mod p A = 56 mod 23 = 8. Bob chooses a secret integer b=15, then sends Alice B = gb mod p B = 515 mod 23 = 19. Alice computes s = B a mod p 196 mod 23 = 2. Bob computes s = A b mod p 815 mod 23 = 2. Elliptic curve cryptography (ECC) is an approach to public-key cryptography based on the algebraic structure of elliptic curves over finite fields.Elliptic curves are also used in several integer factorization algorithms that have applications in cryptographyAn elliptic curve is a plane curve which consists of the points satisfying the equationy2 = x3 + ax + bSeveral RSA-based protocols have been adapted to elliptic curves, replacing the group Zpq with an elliptic curve:* The Elliptic Curve Diffie-Hellman key agreement scheme is based on the Diffie-Hellman scheme,* The Elliptic Curve Digital Signature Algorithm is based on the Digital Signature Algorithm,* The ECMQV key agreement scheme is based on the MQV key agreement scheme.HASH Function in CryptographyA hash function H is a transformation that takes a variable-size input m and returns a fixed-size string, which is called the hash value h (that is, h = H(m). Hash functions with just this property have a variety of general computational uses, but when employed in cryptography the hash functions are usually chosen to have some additional properties. The basic requirements for a cryptographic hash function are:* the input can be of any length,* the output has a fixed length,* H(x) is relatively easy to compute for any given x ,* H(x) is one-way,* H(x) is collision-free.Used in digital signatures, message authentication codes (MACs). They can also be used as ordinary hash functions, to index data in hash tables; as fingerprints, to detect duplicate data or uniquely identify filesA related application is password verification. Passwords are usually not stored in cleartext, instead in digest form. To authenticate a user, the password presented by the user is hashed and compared with the stored hash. This is sometimes referred to as one-way encryption.MD5 algorithmIn cryptography, MD5 (Message-Digest algorithm 5) is a widely used cryptographic hash function with a 128-bit hash value. commonly used to check the integrity of files. MD5 processes a variable-length message into a fixed-length output of 128 bits. The input message is broken up into chunks of 512-bit blocks (sixteen 32-bit little endian integers)Chinese Remainder TheoremThere are certain things whose number is unknown.Repeatedly divided by 3, the remainder is 2;by 5 the remainder is 3; and by 7 the remainder is 2.What will be the number? Suppose n1, n2, , nk are positive integers which are pairwise coprime. Then, for any given in
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- Idoxanthin-生命科学试剂-MCE
- 2025广东广州市黄埔区大沙街横沙股份经济联合社第一次招聘10人模拟试卷附答案详解(考试直接用)
- GYGGGP-GPP-5GFOGER-GPP-5GPC-生命科学试剂-MCE
- GPX4-IN-18-生命科学试剂-MCE
- 2025贵州雍福产业发展投资(集团)有限公司第一批招聘5人模拟试卷及答案详解(各地真题)
- 小学入学教育安全培训课件
- 2025年地震电磁辐射观测仪项目合作计划书
- 2025湖南长沙市雨花区东塘街道社区卫生服务中心公开招聘模拟试卷及完整答案详解一套
- 2025年浙江大学医学院附属妇产科医院招聘4人(派遣岗位第三批)考前自测高频考点模拟试题完整答案详解
- 知识共享技术规范解析
- 国企党务培训课件
- 法拉利课件介绍
- 苏科版三年级上册信息技术全册教学设计
- 2025-2030年中国汽车电源管理IC行业市场现状供需分析及投资评估规划分析研究报告
- 2025至2030中国淀粉粘合剂行业现状调查与前景竞争对手分析报告
- 产能管理课件
- 2025至2030PCR扩增仪市场前景分析及发展趋势分析与未来投资战略咨询研究报告
- 探索宇宙奥秘:天文现象教学课件
- 签订茶叶收购协议书
- 房建工程总承包EPC项目技术标(投标方案)(技术标)
- 杉树林管理制度
评论
0/150
提交评论