Re: File Encryption: CBC vs ECB+IV modes
From: DSCOTT (daVvid_a_scott@email.com)
Date: 02/04/03
- Next message: Kent Briggs: "Re: McAfee's PC Crypto problem"
- Previous message: DSCOTT: "Re: Nasa's incompedent managers"
- In reply to: Sudheer Koganti: "File Encryption: CBC vs ECB+IV modes"
- Next in thread: Jean-Luc Cooke: "Re: File Encryption: CBC vs ECB+IV modes"
- Reply: Jean-Luc Cooke: "Re: File Encryption: CBC vs ECB+IV modes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: daVvid_a_scott@email.com (DSCOTT) Date: 4 Feb 2003 15:28:34 GMT
ukoganti@yahoo.com (Sudheer Koganti) wrote in
<e700e1e3.0302032130.4d674f43@posting.google.com>:
>
>Suppose a file needed to be encrypted and random accesses and frequent
>writes are common and are a critical design criteria. Furthermore,
>lets assume a block cipher is being used. One could choose various
>modes, but the simplest choice is the ECB mode. To make sure, two
>blocks in different files won't encrypt to the same cipher text, an IV
>can be used to XOR the plain text before encrypting. Lets call this
>ECB+IV mode.
>
>
Are you saying the IV use for first block in ECB or all blocks?
If all blocks does the IV change for each block. If not then
two blocks haveing the same input data they will encrypt exactly the
same.
David A. Scott
-- My Crypto code http://cryptography.org/cgi-bin/crypto.cgi/Misc/scott19u.zip http://cryptography.org/cgi-bin/crypto.cgi/Misc/scott16u.zip http://www.jim.com/jamesd/Kong/scott19u.zip old version My Compression code http://bijective.dogma.net/ **TO EMAIL ME drop the roman "five" ** Disclaimer:I am in no way responsible for any of the statements made in the above text. For all I know I might be drugged. As a famous person once said "any cryptograhic system is only as strong as its weakest link"
- Next message: Kent Briggs: "Re: McAfee's PC Crypto problem"
- Previous message: DSCOTT: "Re: Nasa's incompedent managers"
- In reply to: Sudheer Koganti: "File Encryption: CBC vs ECB+IV modes"
- Next in thread: Jean-Luc Cooke: "Re: File Encryption: CBC vs ECB+IV modes"
- Reply: Jean-Luc Cooke: "Re: File Encryption: CBC vs ECB+IV modes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|