ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalCOMP2120Symmetric Asymmetric C…
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    COMP2120

    Information Security

    Progress0 / 15 done
    Topics15
    1Information security foundations2Security design principles3Security mechanisms4Symmetric and asymmetric cryptography5Encryption techniques6Hash functions and digital signatures7Key management, authentication and access control
    8Vulnerabilities and protections9Malware and database security
    10Firewalls and intrusion detection
    11Formation and enforcement12Risk assessment in information security13Cybercrime, law and ethics in information security14Privacy and anonymity of data15Practicals of Information security
    2 min read
    Topic 4 of 15
    Topic Study Note Illustration
    04

    Symmetric and asymmetric cryptography

    Symmetric and Asymmetric Cryptography —two of the core techniques used to secure communication and data in the world of Information Security.

    Symmetric and Asymmetric Cryptography—two of the core techniques used to secure communication and data in the world of Information Security.


    🔐 Symmetric vs Asymmetric Cryptography

    Both are methods of encryption, but they work differently and are used in different scenarios.


    🔁 Symmetric Cryptography (Secret Key)

    🔑 What is it?

    A single key is used for both encryption and decryption.
    Both sender and receiver must share this secret key securely.

    🧠 Key Idea:

    "Same key for both sides."

    ✅ Advantages:

    • Faster than asymmetric (less computationally heavy)
    • Good for encrypting large amounts of data

    ❌ Disadvantages:

    • Key distribution problem – how do you securely share the key?
    • If the key is leaked, security is broken

    🔧 Common Algorithms:

    • AES (Advanced Encryption Standard)
    • DES (Data Encryption Standard – now outdated)
    • Blowfish, RC4

    📦 Use Cases:

    • Encrypting files on disk
    • Secure communication after key is exchanged (e.g., VPNs)
    • SSL/TLS session encryption

    🔁 Example of Symmetric Encryption:

    Alice wants to send a message to Bob.
    They both use the same secret key to encrypt and decrypt the message.
    

    🔄 Asymmetric Cryptography (Public Key)

    🔑 What is it?

    Uses a pair of keys:

    • Public key – shared with everyone
    • Private key – kept secret

    You encrypt with one key, and decrypt with the other.

    🧠 Key Idea:

    "Different keys for each side."

    ✅ Advantages:

    • No need to share a secret key upfront
    • Enables digital signatures and secure key exchange

    ❌ Disadvantages:

    • Slower than symmetric encryption
    • Not efficient for encrypting large data

    🔧 Common Algorithms:

    • RSA (Rivest–Shamir–Adleman)
    • ECC (Elliptic Curve Cryptography)
    • DSA (Digital Signature Algorithm)

    📦 Use Cases:

    • Secure email (PGP)
    • Digital signatures
    • Key exchange in TLS/SSL
    • Blockchain and cryptocurrency transactions

    🔁 Example of Asymmetric Encryption:

    Alice wants to send a message to Bob.
    She encrypts the message using Bob's public key.
    Only Bob can decrypt it using his private key.
    

    🔄 Summary Table:

    Feature Symmetric Asymmetric
    Keys Used One (shared secret key) Two (public and private keys)
    Speed Faster Slower
    Security Key must be securely shared No need to share private key
    Use Cases Data-at-rest, VPN Digital signatures, SSL keys
    Examples AES, DES, RC4 RSA, ECC, DSA

    💡 Fun Fact:

    Most real-world secure systems (like HTTPS) use both:

    • Asymmetric encryption to securely exchange a key
    • Then symmetric encryption for the actual data transfer (because it's faster)

    ← Previous topic 3
    Security mechanisms
    Next topic 5 →
    Encryption techniques

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    2mremaining
    387words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Information Security