Very simple: the IV length is constant for the algorithm :) In 99% of cases it is 8 bytes.
Aleksey ���� wrote: >Thank you for your response. > >As your response, is iv prefixed(concatenated) with ciphertext and that is encoded, >right? >IV||Ciphertext? > >But, How iv and Ciphertext is differentiated? > >Thank you. > > > >--------------------------------------------- >����(KIM, KISU) >IA SECURITY Inc, Ltd. >135-744 ����Ư���� ������ ������ 724 V�븮 8�� >TEL : 02-2040-1309, FAX : 02-2040-1300 >E-mail : [EMAIL PROTECTED] >--------------------------------------------- >----- Original Message ----- >From: "Aleksey Sanin" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Cc: <[EMAIL PROTECTED]> >Sent: Saturday, June 08, 2002 12:12 AM >Subject: Re: [xmlsec] Questions about IV(Initial Vector) > > > > >>Hi! >> >>XML Encryption spec describes how the IV vector is used and XML Sec >>library strictly follows the standards :) >> >>http://www.w3.org/TR/xmlenc-core/#sec-Alg-Block: >> >>The IV is encoded with and before the cipher text for the algorithms below >>for ease of availability to the decryption code and to emphasize its >>association >>with the cipher text. Good cryptographic practice requires that a >>different IV be >>used for every encryption. >> >> >>With best regards, >> >>Aleksey. >> >> >> >>>Hi.... >>>In XMLSec Encryption, if i want to encrypt a data by DES or 3DES >>>how IV is included? >>>I can't know how IV is included in XMLSec encryption examples? >>>I hope quick response. >>>Thanks. >>>--------------------------------------------- >>>����(KIM, KISU) >>>IA SECURITY Inc, Ltd. >>>135-744 ����Ư���� ������ ������ 724 V�븮 8�� >>>TEL : 02-2040-1309, FAX : 02-2040-1300 >>>E-mail : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >>>--------------------------------------------- >>> >>> >> >>
