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 PortalCOMP2120Encryption Techniques
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 5 of 15
    Topic Study Note Illustration
    05

    Encryption techniques

    Encryption is the process of converting plaintext (readable data) into ciphertext (scrambled, unreadable data) using a key , so only authorized users can decrypt it back into...

    🔐 Encryption Techniques

    Encryption is the process of converting plaintext (readable data) into ciphertext (scrambled, unreadable data) using a key, so only authorized users can decrypt it back into the original form.

    Encryption techniques fall into two main categories:


    1. ✅ Symmetric Encryption Techniques

    Same key is used for both encryption and decryption.

    🔧 Common Techniques:

    • AES (Advanced Encryption Standard)

      • Most widely used today
      • Very secure and fast
      • Key sizes: 128, 192, or 256 bits
    • DES (Data Encryption Standard)

      • Older method (56-bit key)
      • Now considered insecure due to short key length
    • 3DES (Triple DES)

      • Applies DES three times with different keys
      • More secure than DES, but slower
    • Blowfish

      • Fast and strong for small-scale applications
      • Key length: 32 to 448 bits
    • RC4 / RC5 / RC6

      • Stream (RC4) and block (RC5/RC6) ciphers
      • RC4 is outdated due to vulnerabilities

    2. 🔁 Asymmetric Encryption Techniques

    Uses a pair of keys: one public, one private.

    🔧 Common Techniques:

    • RSA (Rivest–Shamir–Adleman)

      • Most well-known asymmetric method
      • Used for secure data transmission and digital signatures
    • ECC (Elliptic Curve Cryptography)

      • Strong security with smaller key sizes
      • Great for mobile devices and IoT
    • ElGamal

      • Based on Diffie-Hellman key exchange
      • Used in PGP (Pretty Good Privacy)

    3. 🔄 Hybrid Encryption

    Combines symmetric and asymmetric techniques to get the best of both.

    💡 How it works:

    • Use asymmetric encryption to securely exchange the symmetric key
    • Use symmetric encryption to encrypt actual data (for speed)

    ✅ Used in SSL/TLS, VPNs, and secure email (e.g., PGP, S/MIME)


    4. 🧮 Hash Functions (Not encryption but related)

    Convert data into a fixed-length "digest".
    ✅ One-way: You can’t reverse it to get the original data.

    Common Hash Functions:

    • SHA-256 (Secure Hash Algorithm)
    • MD5 (Old, weak)
    • SHA-1 (Weakened, not recommended)

    ✅ Used for integrity checking, digital signatures, password storage.


    📦 Summary Table:

    Technique Type Key Feature Example Use Case
    AES Symmetric Fast, secure, modern standard File & disk encryption
    DES / 3DES Symmetric Older, slower (3DES more secure) Legacy systems
    RSA Asymmetric Public/private key encryption Secure emails, SSL
    ECC Asymmetric Secure with shorter keys Mobile apps, blockchain
    ElGamal Asymmetric Based on Diffie-Hellman PGP, key exchange
    Hybrid Mixed Combines best of both worlds HTTPS, VPNs
    Hashing One-way Integrity checking (not encryption) Passwords, data verification

    🧠 Quick Analogy:

    • Symmetric encryption is like a locked box with one key—you send the box and share the key somehow.
    • Asymmetric encryption is like a mailbox—anyone can drop a message in (public key), but only you can unlock it (private key).
    ← Previous topic 4
    Symmetric and asymmetric cryptography
    Next topic 6 →
    Hash functions and digital signatures

    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
    415words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Information Security