Rsa Algorithm, Alx Blog, Programming Languages, Programming, Python.
Generation Choose two prime numbers p,q and let’s say their values (3,7) Compute n, (n = p*q). n = (3*7) = 21 Compute Euler(φ) = (p-1)(q-1), euler = (3–1)(7–1) = (2)(6) = 12 The public exponent, or e, is what we utilise to encrypt our message. Choose e, e is any number you choose but there are some