Discussion Forums

re: DES Key Exchange
Ryan Pierce / Townsend Analytics Ltd. / Archipelago LLC
28 Feb 2001 6:33PM ET

> When using encryption method 2 with logon messages a master key is agreed upon by both parties in advance. How would one know the IVEC used for the same logon message? Would the parties need to set an IVEC in advance as well?

You are talking about using DES in ECB (Electronic Code Book) mode. ECB mode uses no initialization vector. The encryption function depends solely upon the 8-byte plaintext block, and the 56-bit key.

DES in CBC (Cipher Block Chaining) mode (i.e. PGP-DES-MD5) requires an Initialization Vector. Encryption in CBC mode depends upon the 8-byte plaintext block, the 56-bit key, and the previous 8 bytes of ciphertext (or, if the first encryption of the day, the Initialization Vector.)


DES Key Exchange
Roi Rozenthal / superset   28 Feb 2001 1:34PM ET
re: DES Key Exchange
Ryan Pierce / Townsend Analytics Ltd. / Archipelago LLC   28 Feb 2001 6:33PM ET
re: DES Key Exchange
Scott Atwell / American Century   1 Mar 2001 7:22AM ET