Synopsis
IP Security (IPsec) is IPv4’s and IPv6’s built-in cryptographic system, for authentication and encryption of each packet’s contents. We discuss IPsec’s header structure, tunnelling to create Virtual Private Networks (VPNs), key-pair generation, hash algorithms, Cyclic Redundancy Checking (CRC) and modes of operation, including AH (Authentication Only), ESP (Encapsulating Security Header) and Tunnel Mode.