The public key is used for encryption and is shared publicly, while the private key is used for decryption and is kept private. The public key consists of two numbers: \( n \) (the modulus) and \( e \) (the public exponent). The private key consists of \( n \) and
Show more…