密码学基础问题两道

2013-05-05 14:53:30 +08:00
 tesorouo
1. The numbers 7 and 23 are relatively prime and therefore there must exist integers a and b such that 7a+23b=1. Find such a pair of integers (a,b) with the smallest possible a>0. Given this pair, can you determine the inverse of 7 in Z23?
Enter below comma separated values for a, b, and for inverse of 7 in Z23.
这题答案为什么不是10,-10,10?

2. What is the discete log of 5 base 2 in Z13? (i.e. what is Dlog2(5))
Recall that the powers of 2 in Z13 are <2>={1,2,4,8,3,6,12,11,9,5,10,7}
这题答案应该怎么算啊?老弄不懂Dlog到底应该怎么计算,求过程
5536 次点击
所在节点    问与答
1 条回复
wynnsyt
2013-05-05 18:36:35 +08:00
1. b = -3
2. 2^9≡5 所以答案是9

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/67774

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX