MillerRabin素性检验
nt MillerRabin(unsigned char Odd[],unsigned char Random[],int s,unsigned char Mp[]){//MillerRabin素性检验//OK unsigned char A[M],B[M]; int t,i; PowerFunction(Random,Mp,Odd,A); t=Judgment1(A); if(t){ printf("Odd可能是素数!\n"); return 1; }//if for(i=0;i
用户评论