DES Cipher Block Chaining Mode

Networking/Security Forums -> Cryptographic Theory and Cryptanalysis - Internal and Transmission Security

Author: Ipsec Espah PostPosted: Fri Dec 26, 2003 4:53 am    Post subject: DES Cipher Block Chaining Mode
    ----
With DES using CBC mode, at what point are the blocks of plaintext run through the encryption algorithm? From what i gather all DES-CBC does is XOR the first 64-bit block of plaintext with a random 64-bit number (IV), and then use the resulting cyphertext to XOR with the next block of plaintext, and then simply repeats that ciphertext block XOR'ed with plaintext block process to the end. It sounds like DES isn't even involved in that encryption process.

One more thing, are symmetric block ciphers the only form of encryption that can use modes like CBC, CFB, ECB, and OFB?

Author: aberentLocation: Toronto PostPosted: Fri Dec 26, 2003 6:08 am    Post subject: Re: DES Cipher Block Chaining Mode
    ----
Ipsec Espah wrote:
With DES using CBC mode, at what point are the blocks of plaintext run through the encryption algorithm? From what i gather all DES-CBC does is XOR the first 64-bit block of plaintext with a random 64-bit number (IV), and then use the resulting cyphertext to XOR with the next block of plaintext, and then simply repeats that ciphertext block XOR'ed with plaintext block process to the end. It sounds like DES isn't even involved in that encryption process.

One more thing, are symmetric block ciphers the only form of encryption that can use modes like CBC, CFB, ECB, and OFB?


Ok here is the step by step.

1. XOR the plaintext (un-encrypted data) with IV (random data)
2. Encrypt the result
3. XOR the ciphertext (Result from step 2) with next plaintext (un-encrypted data)
4. Encrypt the result.
5. Repeat and rinse until there is no more plaintext.

Usually symmetric ciphers are used for encryption, and public key systems for key exchange. This is done because public key algorithms are much too slow for encryption. There fore even if possible public key algorithms are not usually associated with encryption modes.

Author: Ipsec Espah PostPosted: Fri Dec 26, 2003 11:15 pm    Post subject: Re: DES Cipher Block Chaining Mode
    ----
Woops, guess i missed a pretty important step... thanks Smile



Networking/Security Forums -> Cryptographic Theory and Cryptanalysis - Internal and Transmission Security


output generated using printer-friendly topic mod, All times are GMT + 2 Hours

Page 1 of 1

Powered by phpBB 2.0.x © 2001 phpBB Group