[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Regarding DES/3DES



Hello

I have  query regarding using DES and 3DES for encryption.
RFC 2420 states that - for 3DES
"The keyed DES function is iterated three times, an encryption (E) followed 
by a decryption (D) followed by an encryption (E), and generates the 
ciphertext (C1) for the block. Each iteration uses an independent key: k1, 
k2 and k3. To decrypt, the order of the functions is reversed: decrypt with 
k3, encrypt with k2, decrypt with k1, and XOR with the previous cipher- 
text block."

Since 3 different keys are used in 3DES, is it that the second and third 
keys (k2 and k3) are generated using the first key(k1) ?

If not, then how are the second and third keys (k2 and k3) generated  ?

Regards
Ruheena Rashid.



Follow-Ups: