Introduction - If you have any usage issues, please Google them yourself
RSA algorithm and code an experimental report. Choose two primes p, q (non-significant differences between) 2. Calculate n = pq, f (n) = (p-1) (q-1) 3. Select the e, to satisfy a <e<f(n),则gcd(e,f(n))=1
4.计算d,满足de=1 mod f(n)。一般d> = [n the fourth side], (e, n) for the public key, (p, q, d) for the private key will be expressly 0,1 sequence packet, so that each of the decimal is less than n. c = [m of the e-th power] mod n, m = [c of the d-th power] mod n.