Fast RSA Cryptosystem Implementation Using the Chi
2016-08-23
0 0 0
5.0
Other
Earn points
// RSATestFast: Test Fast RSA Implementation import java.math.*; // for BigInteger import java.util.*; // for Random public class RSATestFast { public static void elapsedTime(long startTime) { long stopTime = System.currentTimeMillis(); double elapsedTime = ((double)(stopTime - startTime))/1000.0; System.out.println("Elapsed time: " + elapsedTime + " seconds"); } public static void main(String[] args) { Random rnd = new Random(); BigInteger m, m1, m2, m3, c, s, s1; RSAPrivateKeyFast alice = new RSAPrivateKeyFast(1024, rnd, "Alice"); RSAPrivateKeyFast bob = new RSAPrivateKeyFast(1024, rnd, "Bob "); m = new BigInteger( "1234567890987654321012345678909876543210" + "1234567890987654321012345678909876543210" + "1234567890987654321012345678909876543210" + "1234567890987654321012345678909876543210" + "1234567890
java
RSA
中国
密码
实现
使用
剩余
快速
定理
体制
Related Source Codes
Android AOA Android Open Accessory Development Usi
0
0
no vote
VPN source code accelerator
0
0
no vote
VPN source code
0
0
no vote
Springboot Campus Recruitment System
0
0
no vote
Java intelligent QR code access control management
0
0
no vote
No comment