用M代表原文(plain text),第一次加密获得的C(ciphertext)为密文,加密过程需要公钥e和n
其中n = p*q,这里p和q是两个大质数
RSA加密 C = M e M^e Me% n n n
RSA解密 M = C d C^d Cd% n n
用M代表原文(plain text),第一次加密获得的C(ciphertext)为密文,加密过程需要公钥e和n
其中n = p*q,这里p和q是两个大质数
RSA加密 C = M e M^e Me% n n n
RSA解密 M = C d C^d Cd% n n