ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Cyber Security
    COMP3143
    Progress0 / 21 topics
    Topics
    1. Introduction to Cyber security2. Networks and the Internet3. Cyber threat landscape4. Understanding security and information security principles5. Information Security Terminology6. Who are the attackers and Advanced Persistent Threat (APT)7. Malware and types of malware8. Attacks using malware and Malware Attack Lifecycle9. Social engineering attacks and types of payload10. Industrial Espionage in Cyberspace11. Basic cryptography12. Web application attacks13. Database security14. Cyber kill chain15. Privacy and anonymity16. Network security17. Software security18. Mobile device security and Mobile app security19. Cyber Terrorism and Information Warfare20. Introduction to Digital Forensics21. Digital Forensics Categories
    COMP3143›Basic cryptography
    Cyber SecurityTopic 11 of 21

    Basic cryptography

    2 minread
    352words
    Beginnerlevel

    Basic Cryptography

    What is Cryptography?

    Cryptography is the science of securing information by transforming it into a form that is unreadable to unauthorized users. It ensures that information is:

    • Confidential – only intended recipients can read it
    • Authentic – sender’s identity is verified
    • Intact – data is not altered during transmission

    Goals of Cryptography

    Cryptography is used to achieve:

    1. Confidentiality – Keeping data secret using encryption.
    2. Integrity – Ensuring data is not tampered with (using hashes, checksums).
    3. Authentication – Verifying the identity of sender/receiver.
    4. Non-repudiation – Preventing the sender from denying the action.

    Key Terminology

    Term Definition
    Plaintext Original readable data or message
    Ciphertext Encrypted, unreadable data
    Encryption Converting plaintext into ciphertext
    Decryption Converting ciphertext back to plaintext
    Key Secret value used for encryption/decryption
    Cryptanalysis The art of breaking or analyzing cryptographic systems

    Types of Cryptography

    1. Symmetric Key Cryptography (Private Key)

    • Same key is used for encryption and decryption.
    • Faster but key distribution is a challenge.

    Examples:

    • AES (Advanced Encryption Standard)
    • DES (Data Encryption Standard)
    • 3DES (Triple DES)

    Use Cases:

    • File encryption, secure storage, internal communications

    2. Asymmetric Key Cryptography (Public Key)

    • Uses a pair of keys: public key (encrypt) and private key (decrypt).
    • Solves the key distribution problem but slower than symmetric encryption.

    Examples:

    • RSA (Rivest–Shamir–Adleman)
    • ECC (Elliptic Curve Cryptography)
    • Diffie-Hellman (key exchange protocol)

    Use Cases:

    • Digital signatures, secure email, online banking

    3. Hash Functions

    • Converts data into a fixed-length value (hash).
    • Cannot be reversed (one-way function).
    • Used for data integrity verification.

    Examples:

    • MD5 (deprecated for security reasons)
    • SHA-1, SHA-256

    Use Cases:

    • Password storage, digital signatures, file integrity checks

    Basic Cryptography Operations

    1. Encryption: Ciphertext = Encryption(Plaintext, Key)

    2. Decryption: Plaintext = Decryption(Ciphertext, Key)

    3. Hashing: Hash = HashFunction(Data)

      • Ensures data integrity
    4. Digital Signatures:

      • Sender signs the message with private key
      • Receiver verifies signature using sender’s public key

    Applications of Cryptography

    • Secure online transactions (HTTPS/SSL)
    • Digital payments and banking
    • Password protection
    • Secure email (PGP, S/MIME)
    • VPNs and network security
    • Blockchain and cryptocurrency

    Conclusion

    Cryptography is the backbone of modern cybersecurity. By using encryption, hashing, and digital signatures, organizations and individuals can protect sensitive information, ensure authenticity, and maintain trust in digital communications.

    Previous topic 10
    Industrial Espionage in Cyberspace
    Next topic 12
    Web application attacks

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time2 min
      Word count352
      Code examples0
      DifficultyBeginner