• RSS
  • Twitter
  • FaceBook

Security Forums

Log in

FAQ | Search | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

DES Cipher Block Chaining Mode

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Cryptographic Theory and Cryptanalysis - Internal and Transmission Security

View previous topic :: View next topic  
Author Message
Ipsec Espah
Just Arrived
Just Arrived


Joined: 16 Mar 2003
Posts: 4


Offline

PostPosted: Fri Dec 26, 2003 4:53 am    Post subject: DES Cipher Block Chaining Mode Reply with quote

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?
Back to top
View user's profile Send private message
aberent
Trusted SF Member
Trusted SF Member


Joined: 08 May 2003
Posts: 2
Location: Toronto

Offline

PostPosted: Fri Dec 26, 2003 6:08 am    Post subject: Re: DES Cipher Block Chaining Mode Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
Ipsec Espah
Just Arrived
Just Arrived


Joined: 16 Mar 2003
Posts: 4


Offline

PostPosted: Fri Dec 26, 2003 11:15 pm    Post subject: Re: DES Cipher Block Chaining Mode Reply with quote

Woops, guess i missed a pretty important step... thanks Smile
Back to top
View user's profile Send private message
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Cryptographic Theory and Cryptanalysis - Internal and Transmission Security All times are GMT + 2 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Area

Log in | Register