Encryption is a fundamental element of today's world of technology. It is crucial in enhancing the confidentiality and security of data. In the realm of encryption and security, both public keys and private keys happen to be indispensable. Public key and private keys are part of a system known as public key cryptography or asymmetric cryptography.