[xmlsec] Questions about IV(Initial Vector)

Aleksey Sanin aleksey at aleksey.com
Sun Jun 9 19:59:38 PDT 2002


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 : kisukim at iasecurity.com
>---------------------------------------------
>----- Original Message ----- 
>From: "Aleksey Sanin" <aleksey at aleksey.com>
>To: <kisukim at iasecurity.com>
>Cc: <xmlsec at aleksey.com>
>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 : kisukim at iasecurity.com <mailto:kisukim at iasecurity.com>
>>>---------------------------------------------
>>>      
>>>
>>    
>>





More information about the xmlsec mailing list