RSA: The First Homomorphic Encryption Scheme in Cryptography
The RSA algorithm was proposed in 1978 and is named after its inventors: Rivest, Shamir, and Adleman. RSA: A Cornerstone of Cryptography In 1976, the first asymmetric key encryption algorithm, Diffie-Hellman, was proposed. However, this algorithm left open the problem of realizing a one-way function — a function that is hard to invert. The three cryptographers — Ron Rivest, Adi Shamir, and Leonard Adleman — solved the aforementioned problem. RSA algorithm This algorithm is divided into three phases, namely, key generation, encryption, and decryption. A. Key Generation: 1. Select two large prime numbers (say p, and q). 2. Calculate n = pq. 3. Calculate Euler totient function Φ (n) = (p-1)(q-1) 4. Choose value of e (where 1 < e < Φ (n), and gcd( Φ (n),e)=1). 5. Calculate d such that ed = 1 m...