從頭開始紀錄我的學習生活。
p,q : large prime n = p * q z = (p-1) * (q-1) GCD(d,z) = 1 (e*d) mod z = 1 Public Key : (n,e) Private Key : (n,d)
E(M) = M ^ e mod n = C D(C) = C ^ d mod n = M
Post a Comment
No comments:
Post a Comment