|  |  | The Security Parameter Index (SPI) is a small portion of the Encapsulating Security Payload (ESP) and Authentication Header (AH). The SPI contains information that will help the end IPSec system to identify the Security Association that was used to start the IPSec process. This information is stored in a number that only the end system can decrypt, which helps hide as much information as possible from prying eyes on the public network.