libgcrypt: Length of IV

Blumenthal, Uri ublument at Bear.com
Mon Apr 23 16:09:14 CEST 2007


> Should the IV be of the same length as the key
> for a given symmetric cipher or can it have any
> length?

IV should be equal in length to the block size of the cipher
(not the key size). Yes IV can be of a different length - but 
unless you fully understand the implications, 
I advise against it.
***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation, 
offer or agreement or any information about any transaction, customer 
account or account activity contained in this communication.
***********************************************************************



More information about the Gnupg-users mailing list