RSA:RSA-1024加密算法

时间:2021-05-23 07:27:47
【文件属性】:
文件名称:RSA:RSA-1024加密算法
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-23 07:27:47
C++ RSA RSA encryption algorithm bigInt.h bigInt.cpp:大数运算库 gcd.h:最大公因子及模逆算法实现 mrTest.h:Miller-Rabin检测的实现 power.h:模幂运算的实现 random.h:随机整数的生成库 main.cpp:测试程序,输入一个字符串,生成一对秘钥并保存(公钥名为pubkey.txt,私钥名为prikey.txt),用这对秘钥对字符串进行加密和解密 keygen.cpp:生成秘钥对,无需输入,输出秘钥对保存为文件(公钥名为pubkey.txt,私钥名为prikey.txt) encryption.cpp:加密程序,输入明文,输出密文 decryption.cpp:解密程序,输入密文,输出明文
【文件预览】:
RSA-master
----main.cpp(2KB)
----bigInt.h(945B)
----README.md(661B)
----bigInt.cpp(8KB)
----encryption.cpp(1KB)
----test.cpp(755B)
----pubkey.txt(617B)
----prikey.txt(621B)
----power.h(447B)
----keygen.cpp(2KB)
----gcd.h(654B)
----random.h(586B)
----decryption.cpp(1KB)
----mrTest.h(1KB)

网友评论