- 5
- 0
- 约2.27千字
- 约 4页
- 2021-03-26 发布于广东
- 举报
YKK standardization office【 YKK5AB- YKK08- YKK2C- YKK18】
YKK standardization office【 YKK5AB- YKK08- YKK2C- YKK18】
RSA加密解密算法c语言程序
#include
#include
#include
!;
printf(请输入您要发送的明文文件(小写英文表示):\n);
printf(******************************************************\n);
gets(min_wen);
printf(******************************************************\n);
printf(\n加密开始,请按要求操作。。。\n\n);
printf(请输入第一个大素数p:\n);
while(1){
scanf(%d,p);
if(Witness(2,p)==1){
printf(您输入的第一个大素数 %d 符合要求\n,p);
break;
}
else
printf(您输入的 %d 不是素数,请重新输入:\n,p);
原创力文档

文档评论(0)