#include<stdio.h>
int rsa(unsigned long long int a,unsigned long long int b,unsigned long long int c)
{
unsigned long long int r=1;
while(b!=0)
{
r=r*a;
r=r%c;
b--;
}
return r;
}
int sushu( unsigned long long int a)
{
unsigned long long int b=2;
for(b=2;b<a/2+1;b++)
{
if(a%b==0)
return
非对称加密体制(RSA)
最新推荐文章于 2023-02-11 23:46:02 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)