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
这是早期MiniGUI DOS版本的最终版,压缩包内包含源代码、示例程序和API参考文档。该版本适合初学者,在BC++4。5上可直接编译,本人正试图将其移植到uclinux中。
上传时间: 2015-04-02
上传用户:saharawalker
能运算的函数: sin,cos,tg,ctg,e^,pow(x,y),cosh,sinh,tgh,log10,ln,sqrt,arcsin,arccos, 运算方式: +,-,*,/,绝对值(“[ ]”),^,!, 输入规则: 用键盘或按钮都可,输入完按回车运算,(光标要在最后) sin(21-32)/(12-43) 4(323-4343) 4*(323-4343) e^2-sin3-3^4,(不要输入pow(3,4)) //有无*都可 2*3^4是(2*3)^4 而不是2*(3^4) 也就是要用x^y就要一定要(x^y)加上一个括号 [3-4]是求3-4的绝对值不是中括号
上传时间: 2015-04-11
上传用户:sxdtlqqjl
系统功能说明: 1 本书库系统专为以文字为主的站点设计,免去站长更新网站时的上传下载等不便; 2 管理员名字和密码都是admin,修改请用记事本打开logincheck.asp修改; 3 书籍类型修改、增加类型请打开数据库自行修改; 4 附送数据库 3 M 。
标签: 站点
上传时间: 2013-12-18
上传用户:13215175592
2^x mod n = 1 acm竞赛题 Give a number n, find the minimum x that satisfies 2^x mod n = 1. Input One positive integer on each line, the value of n. Output If the minimum x exists, print a line with 2^x mod n = 1. Print 2^? mod n = 1 otherwise. You should replace x and n with specific numbers. Sample Input 2 5 Sample Output 2^? mod 2 = 1 2^4 mod 5 = 1
标签: mod satisfies minimum number
上传时间: 2015-06-02
上传用户:qlpqlq
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
用java GUI写的计算器程序。程序安全,健壮。多输几个小数点也只记录一个,和Windows XP 里的计算器(标准型),功能上是一样的。2+3=5,“2+3***”结果为5,不会连乘。“5*6==180”会连乘,2+3*8=40,2+3***8=40,9/0=0不报错
上传时间: 2015-09-15
上传用户:liglechongchong
用PHP编写的表达式计算器,是用的编译的知识实现的,并非使用eval()函数实现。 功能强大,可以做所有的数值计算,代数计算还不能实现。 1。可以计算形如“-3*sin(2^0.5/2+3.1415)-pi()^2”的式子。 2。能识别数字(包括小数、正负数)、数学函数。 3。可以做加、减、乘、除、指数、取模 计算(其中加、减包括一元和二元两种操作)。 压缩包里的“math.php”是演示文件
上传时间: 2013-12-11
上传用户:comua
rdesktop is a client for Microsoft Windows NT Terminal Server, Windows 2000 Terminal Services, Windows 2003 Terminal Services/Remote Desktop, Windows XP Remote Desktop, and possibly other Terminal Services products. rdesktop currently implements the RDP version 4 and 5 protocols.
标签: Terminal Windows Microsoft rdesktop
上传时间: 2013-12-19
上传用户:liuchee
Stellaris Luminary Micro 系列之 EV-LM3S811 多个学习范例全都是基于 Keil 工程版的范例, 而范例内容列举如下: 1.BitBand 2.PWMgen3.GPIO_JTAG 4.Hello 5.Interrupts 6.QS_EV_LM3S811 7.Timers 8.UART_Out 9.WatchDog 等
标签: Stellaris Luminary BitBand PWMgen
上传时间: 2015-12-31
上传用户:ukuk