Hi Samuel, > For ECB mode the initialization vector is not used or is > it fixed somewhere? ECB does not use an IV. See below for a diagram: http://encyclopedia.thefreedictionary.com/Electronic%20codebook
See below for a simple test vector (See Appendix B and Table B1): http://www.itl.nist.gov/fipspubs/fip81.htm What language is the Vendor's test app written in? If java, there's Unicode and byte ordering (possibly) issues - IIRC. There is a thread in the archives that discusses it in more detail. Jeffrey Walton -----Original Message----- From: Samuel Mota [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 8:48 AM To: [EMAIL PROTECTED] Subject: RE: Really simple DES encryption Hi, For ECB mode the initialization vector is not used or it`s fixed somewhere? (http://www.tropsoft.com/strongenc/des.htm) The simplest programm I wrote is encrypting and decrypting the message, But the encrypted does not match with the expected (from the vendor test case application). The first 2 bytes matches, but after that they are different. Any idea? ... + Samuel G. Mota + [EMAIL PROTECTED] + 55 (11) 4417 7093 + Business Application Dpt. + Netset Servi�os em Tecnologia + a Hypercom Company + http://www.hypercom.com
