搜索资源列表
RSAprogram
- 本程序使用了欧几里得算法求乘法逆元,采用二进制分解算法求a^b mod n,算法简明,思路清晰,适合深入了解程序的基本原理,直接运行demo文件即可完成程序的运行。-This program uses the Euclidean Algorithm for Finding multiplicative inverse, using the binary decomposition algorithm for getting a ^ b mod n, algorithm concise, clea
diffie_hellman
- Implement Diffie-Hellman Key exchange protocol and demonstrate that at the end, both person will have a common Key. Do the following: 1. Set a variable p ( e.g. p = 37) and g (e.g. g = 5). 2. Generate a, a random number mod p. Now generate A,