←Back to Subject
Notes
Notes
Study material and explanations
Diagrams
Diagrams
Visualize concepts easily
Mnemonics
Mnemonics
Tricks to remember faster
One Night Prep
One Night Prep
Short and focused revision
Revision
Revision
Quick summary and key points
Important Questions
Important Questions
Practice most relevant questions
Notes

Asymmetric Key Cryptography: History, Public-Private Keys & Comparison

Study material and explanations for Unit 2

Brief History and Overview of Asymmetric Key Cryptography

What is Asymmetric Key Cryptography? (In Simple Words)

In Symmetric Key Cryptography (like DES and AES), both the sender and receiver must share the exact same secret key. But this creates a huge problem: How do you safely share a secret key with a stranger over the internet (like Amazon or Flipkart) when a hacker might be watching?

To solve this, Asymmetric Key Cryptography (also called Public-Key Cryptography) was invented. Instead of using one single key, it uses a mathematically linked pair of TWO different keys for every user:

  1. A Public Key (PU): Shared openly with the entire world (like your email address or UPI ID).
  2. A Private Key (PR): Kept 100% secret by the owner and never shared with anyone (like your ATM PIN).

💡 The Golden Rule of Asymmetric Cryptography:
Anything locked (encrypted) with a person’s Public Key can ONLY be unlocked (decrypted) by that same person’s Private Key—not even the Public Key itself can unlock it!


1. Brief History of Asymmetric Key Cryptography

For over 2,000 years (from Julius Caesar’s time until the mid-1970s), every single encryption system in human history was Symmetric. Everyone believed it was impossible for two people to communicate secretly without first meeting in person to exchange a secret key.

The Historic Breakthrough Timeline:

Evolution of Asymmetric (Public-Key) Cryptography
1970–1973GCHQ (Classified British Intelligence)
James Ellis, Clifford Cocks & Malcolm Williamson secretly conceived non-secret encryption (kept classified until 1997)
1976Diffie-Hellman Revolution ("New Directions in Cryptography")
Whitfield Diffie & Martin Hellman (with Ralph Merkle) publicly invented Public-Key Cryptography & Key Exchange
1977Invention of RSA Algorithm at MIT
Ron Rivest, Adi Shamir & Leonard Adleman created the first practical Public-Key encryption & digital signature system
1985–PresentElliptic Curve Cryptography (ECC) & Modern Web
Neal Koblitz & Victor Miller introduced ECC, enabling fast public-key security on smartphones and HTTPS
  1. The Diffie-Hellman Breakthrough (1976):
    Stanford researchers Whitfield Diffie and Martin Hellman published their landmark paper “New Directions in Cryptography”. They introduced the revolutionary concept of a Public-Key / Private-Key pair based on Trapdoor One-Way Functions (mathematical problems that are easy to calculate in one direction, but practically impossible to reverse without a secret trapdoor).
  2. The RSA Invention (1977):
    While Diffie and Hellman proposed the concept and a key-exchange method, three MIT professors—Ron Rivest, Adi Shamir, and Leonard Adleman—created the RSA Algorithm in 1977 based on the difficulty of factoring the product of two huge prime numbers.

2. Overview: How Asymmetric Key Cryptography Works

Suppose Rahul (Sender) wants to send a confidential message to Priya (Receiver):

Asymmetric Encryption Workflow (Confidentiality)
1. Key GenerationPriya generates Public Key (PU_b) & Private Key (PR_b)
➔
2. EncryptionRahul locks Plain Text using Priya's PUBLIC Key (PU_b)
➔
3. TransmissionCipher Text travels safely over public internet
➔
4. DecryptionPriya unlocks Cipher Text using her PRIVATE Key (PR_b)

Real-Life Analogy: The Postbox (Letterbox) with a Slot

Think of Priya’s Public Key as a locked metal postbox outside her house with a narrow mail slot:

  • Anyone on the street can drop a letter into the slot (Encrypt with Priya’s Public Key).
  • Once the letter drops inside, nobody on the street can reach in and steal it.
  • Only Priya, who holds the Private Key to the postbox door, can open the box and read the letters!

3. Two Modes of Asymmetric Cryptography

Asymmetric cryptography can be used in two different ways depending on which key is used first:

Mode Encrypted By (Sender) Decrypted By (Receiver) Goal Achieved
1. Confidentiality Mode (Encryption) Receiver’s Public Key (PUreceiver) Receiver’s Private Key (PRreceiver) Secrecy / Privacy: Only the receiver can read the message
2. Authentication Mode (Digital Signature) Sender’s Private Key (PRsender) Sender’s Public Key (PUsender) Authentication & Non-Repudiation: Proves that the message genuinely came from the sender

4. Comparison: Symmetric vs. Asymmetric Key Cryptography

This comparison table is a guaranteed question in DAVV BCA Cyber Security exams:

Feature Symmetric Key Cryptography Asymmetric Key Cryptography
1. Number of Keys Uses 1 single shared key Uses a pair of 2 keys (Public Key & Private Key)
2. Key Used for Encryption & Decryption Same key is used for both Encryption and Decryption Different keys are used (Public Key encrypts, Private Key decrypts)
3. Key Sharing Secret key must be shared privately (risky over internet) Public key is shared openly; Private key is never shared
4. Number of Keys for N Users Requires (N(N-1) / 2) keys (scales poorly) Requires only 2N keys (1 pair per user)
5. Speed & Performance Very Fast (uses simple bitwise XOR/substitutions) Much Slower (uses heavy modular exponentiation on huge numbers)
6. Best Used For Encrypting large volumes of data (files, databases, streaming) Secure key exchange, Digital Signatures, and small messages
7. Non-Repudiation Does not provide Non-Repudiation Provides Non-Repudiation via Digital Signatures
8. Popular Examples DES, 3DES, AES, Blowfish, RC4 RSA, Diffie-Hellman, ECC, ElGamal, DSA

💡 DAVV Exam Preparation Tips

10-Mark Question: “Write a brief history and overview of Asymmetric Key Cryptography. Differentiate between Symmetric and Asymmetric Key Cryptography.”

  • Mention the 1976 Diffie-Hellman paper and 1977 RSA invention.
  • Explain the Public Key + Private Key concept using the Postbox Analogy.
  • Draw the Asymmetric Encryption Flow Diagram showing how the Receiver’s Public Key locks the message and the Receiver’s Private Key unlocks it.
  • Write the 8-point Symmetric vs. Asymmetric comparison table.