资 源 简 介
2的16次幂正整数d与n,编写计算d-1 (mod n) 的程序;
2、对于三个不超过2的16次幂正整数a、e与n,编写计算ae (mod n) 的程序。
在上述程序基础上写出下列程序:
(1) 对给定的10000以内数判定其是否为素数;
(2) 进行ElGamal体制的加密与签名。
-two of 16 power-positive integer d and n, calculate the preparation of d-1 (mod n); 2. For not more than 2 3 16 Powers positive integers a, e and n, calculate the preparation ae (mod n) procedures. In the above procedure to write on the basis of the following procedures : (a) the right to 10,000 within a few judging whether a prime number; (2) ElGamal encryption and signature.