RSA算法 :首先, 找出三个数, p, q, r, 其中 p, q 是两个相异的质数, r 是与 (p-1)(q-1) 互质的数...... p, q, r 这三个数便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 这个 m 一定存在, 因为 r 与 (p-1)(q-1) 互质, 用辗转相除法就可以得到了..... 再来, 计算 n = pq....... m, n 这两个数便是 public_key ,编码过程是, 若资料为 a, 将其看成是一个大整数, 假设 a < n.... 如果 a >= n 的话, 就将 a 表成 s 进位 (s
标签: person_key RSA 算法
上传时间: 2013-12-14
上传用户:zhuyibin
转载单片机实现TCP/IP协议的完整C源程序,带程序注解的,供大家研究
上传时间: 2014-12-02
上传用户:siguazgb
这是一个keil c51 程序 采用8031单片机,是一个学习keil c 的入门级程序
上传时间: 2013-12-15
上传用户:小儒尼尼奥
电子书:C#完全手册,详细介绍C#语言。C#基础学习必备
上传时间: 2013-12-21
上传用户:李彦东
本书共10章,分别介绍了C语言的算法基础、基本概念和如何利用C语言进行程序设计。通过大量的实例介绍了C语言的精华,特别针对目前C语言的发展,精心策划了C语言的综合应用、图形与动画的设计、音乐的演奏等
标签:
上传时间: 2013-12-25
上传用户:teddysha
The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition
标签: government streamline important alphabet
上传时间: 2015-06-09
上传用户:weixiao99
C#开发,PDA程序,一个个人理财的小东东,大家可以看看,上面没有C#选项,请站长加上
标签:
上传时间: 2014-01-05
上传用户:黑漆漆
由本人编写的一个完成端口测试程序,模拟一个多人游戏登陆的C/S结构通讯程序,服务器端由完成端口实现,客户端网络部分用dll实现。
上传时间: 2013-11-30
上传用户:离殇
一个人力资源管理系统的实现,采用了C/S和B/S混合的软件体系结构,包括从问题分析到具体实现的全过程
标签: 人力资源管理系统
上传时间: 2013-12-16
上传用户:litianchu
ds1820一线制温度采集芯片c51编程。该芯片具有高灵敏度、易用性、编程布线简单等优点,被应用到工控行业的各种产品中。本c51的ds1820的c语言驱动程序通过实践使用,程序效率高、稳定准确,可直接使用。
上传时间: 2015-07-06
上传用户:wqxstar