Public-key cryptography

Polity & Governance glossary

Also called: RSA encryption, Cryptography · Topic: Transparency, Accountability and e-Governance · NCERT: Beyond NCERT

Meaning

Public-key cryptography is a way of locking (encrypting) data with two linked keys. The public key can be shared with anyone and is used to lock a message. Only the matching private key, which the owner keeps secret, can unlock (decrypt) it. RSA encryption is the best-known type. Its safety rests on one fact: multiplying two very large prime numbers is easy, but splitting the result back into those primes is extremely hard. This method protects online messages, banking, payments and digital signatures (electronic proof of who signed something), so it matters for cyber security and e-governance.

Example

Under the IT Act 2000, an e-signature has legal validity, and digital signatures use public-key methods. The signer "signs" with a private key, and anyone can check the signature with the public key. India Stack's eSign service and payments over UPI (2016) also depend on this kind of encryption to stay secure.

Don't confuse with

  • Symmetric-key cryptography: the same single secret key locks and unlocks the data, so both sides must share it safely beforehand. Public-key systems use two different keys.
  • Riemann hypothesis: this is an unproven idea about how prime numbers are spread out. A proof would deepen our understanding of primes, but it would not by itself break RSA. Quantum computing is a separate threat to this kind of encryption.

Read more