離散對數密碼系統.ppt

  1. 1、本文档共33页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Algorithmic Number Theory (Part III: Discrete Logarithm) Outline [1] Discrete Logarithm Problem [2] Algorithms for Discrete Logarithm A trivial algorithm Shanks’ algorithm Pollard’s algorithm Pohlig-Hellman algorithm Adleman’s algorithm (the index calculus method) [3] Cryptosystems Based on Discrete Logarithm Key distribution Encryption Digital signature [1] Discrete Logarithm Problem Let G is a finite cyclic group of size n generated by generator g, i.e. G = g = {g i | i = 1, 2, …, n} or {g i | i = 0, 1, …, n-1} Given g and i, it is easy to compute gi by repeated squaring Discrete logarithm problem Given , find x such that We denote Discrete Logarithm Problem Example 1 G = Z*19 = { 1, 2, …, 18} n=18, generator g = 2 then log214 = 7 log26 = 14 Discrete Logarithm Problem Example 2 In Z*11 = { 1, 2, …, 10} Let G= 3 ={1, 3, 9, 5, 4}, n=5, 3 is not a generator of Z*11 but a generator of G. log35 = 3 Discrete Logarithm Problem Example 3 G=GF*(23) with irreducible poly. p(x) = x3 + x +1 G=Z*p/p(x) = { 1, x, x2, 1+x, 1+x2, x+x2, 1+x+x2 } n=7, generator g = x then logx(x+1) = 3 logx(x2+x+1) = 5 logx(x2+1) = 6 [2] Algorithms for Discrete Logarithm A trivial algorithm Shanks’ algorithm (Baby-step giant-step) Pollard rho discrete log algorithm Pohlig-Hellman algorithm The index calculus method A trivial algorithm Discrete Logarithm Problem in Z*p given generator g and a in Z*p, find x in Zp-1 such that a = gx mod p A trivial algorithm Compute gi for all i Search table for a Time complexity O(p) Shanks’ algorithm Shanks’ algorithm (1972) Compute L1 = {(i, gmi), i = 0, 1, …, m-1} L2 = {(i, ag-i), i = 0, 1, …, m-1} where m = ceiling((p-1) ?) Sort L1 and L2 with respect to the 2nd coordinate. Find the same 2nd coordinate from L1 and L2, say, (q, gmq), (r, ag-r), to get gmq =ag-r. So a = gmq + r and x=mq+r. Time complexity O(m

文档评论(0)

44488569 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:5101121231000003

1亿VIP精品文档

相关文档