Public Key Encryption

Public-key cryptography, or asymmetric cryptography, is the field of cryptographic systems that use pairs of related keys. Each key pair consists of a public key and a corresponding private key. Key pairs are generated with cryptographic algorithms based on mathematical problems termed one-way functions.

The security of public-key cryptography depends on keeping the private key secret; the public key can be openly distributed without compromising security.

Untitled

Application of PKC

Condition of PKC

Untitled

RSA Algorithm

RSA encryption algorithm is a type of public-key encryption algorithm. Named after its inventors Rivest, Shamir, and Adelman (RSA)

Untitled

RSA algorithm uses the following procedure to generate public and private keys:

Youtube → Gate Smasher

  1. Choose two different large random prime numbers.
  2. Calculate n = p x q