baishuai1 / RSA

C++ code of 1024 rsa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0.BigInt有符号大整数类
	0.1加、减、乘、除、模
	0.2欧几里得扩展算法求乘法逆元
	0.3模乘
1.Rsa
	1.1大素数生成
	1.2米勒拉宾算法大素数检测
	1.3公私钥加解密
2.main()
	2.1十六进制输入数据,输入时不能有空格
	2.2初始、加密、解密、显示公私钥
	2.3 go运行函数,test测试函数
3.Rsa初始化时间
	3.0 16位:0s
	3.1 32位:0s
	3.1 64位:0s
	3.2 128位:0s
	3.3 256位:1s
	3.4 512位:20s
	3.5 1024位:47s
	3.6 2048位:968s

About

C++ code of 1024 rsa


Languages

Language:C++ 100.0%