Description: RSA algorithm is very simple, are summarized as follows: find two primes p and q take n = p* q taking t = (p-1)* (q-1) take on any of a number e, required to meet e <t并且e与t互素(就是最大公因数为1) 取d*e t==1 这样最终得到三个数: n d e 设消息为数M (M <n) 设c=(M**d) n就得到了加密后的消息c 设m=(c**e) n则 m == M,从而完成对c的实现
To Search:
File list (Check if you may need any files):
RSA C++\RSA.cpp.cpp
RSA C++