
80
Chapter 3
Figure 3.9 shows how Phase 1 of IKE proceeds in the main mode. Messages 1 and
2 are used for negotiating the cryptographic parameters to be used for IPSec. These
cryptographic parameters include the encryption algorithm (DES, 3DES and so on),
the hash algorithm (MD5, SHA, and so on), authentication method (preshared keys,
public signature key, public encryption key, and so on) and the Diffie-Hellman group
(modular exponentiation, elliptic curve) and so on. Messages 3 and 4 carry out the
Diffie-Hellman exchange. At the end of messages 3 and 4, Alice and Bob have estab-
lished a shared secret. This shared secret is then used to protect ...