1. 1.1 Securityhistorical

    This page collects notes on transport security, cryptographic authentication, and web attacks as an entry point to security topics.

  2. 1.2 Base64historical

    Base64 represents byte data as ASCII characters for systems with character restrictions. These notes explain encoding through groups of three bytes.

  3. 1.3 Hashhistorical

    Hashing converts a byte string into a digest. These notes begin with its one-way nature, compare hashing with encryption, and record algorithms such as MD5 and SHA.

  4. 1.4 Encryptionhistorical

    Encryption protects information confidentiality. These notes begin with plaintext and ciphertext and examine symmetric and asymmetric encryption and related implementations.

  5. 1.5 Message Authentication Codehistorical

    Message authentication codes check integrity and authenticate messages. These notes cover generation, verification, and HMAC through the purpose of MACs.

  6. 1.6 Digital Signaturehistorical

    Digital signatures support integrity checking, authentication, and nonrepudiation. These notes continue with digital certificates and CA-based trust.

  7. 1.7 SQL Injectionhistorical

    SQL injection embeds attack code in input so the server executes unintended SQL. These notes examine its causes and defenses.

  8. 1.8 CSRFhistorical

    CSRF exploits a browser's existing login state to send requests to another site from a malicious page. These notes illustrate the process with a payment-request example.

  9. 1.9 XSShistorical

    XSS can occur when user input is rendered as HTML without appropriate encoding. These notes use an alert example to examine how scripts enter pages and how to defend against them.

  10. 1.10 SYN Attackhistorical

    SYN Attack: During the three-way handshake, the state after the server sends SYN-ACK and before it receives the client's ACK is called a half-open connection. A half-open connection also consumes system resources.

  11. 1.11 Man-in-the-Middle Attackhistorical

    A man-in-the-middle attack means that an attacker establishes independent connections with both ends of a communication and exchanges the data it receives, making both communicating parties believe that they are talking directly to each other through a private connection, while in fact the entire session is completely controlled by the attacker.