Re: IV size
From: John Keenan (jmkeenan@comcast.net)
Date: 04/16/03
- Next message: Richie: ".NET's 3DES produces different output than 3DES on ther platforms"
- Previous message: Ivan Medvedev [MS]: "Re: Encryption / decryption doesn't work"
- In reply to: Pieter Philippaerts: "Re: IV size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "John Keenan" <jmkeenan@comcast.net> Date: Wed, 16 Apr 2003 09:53:36 -0700
I had forgotten the bits vs bytes... thanks
>-----Original Message-----
>"John Keenan" <jmkeenan56@comcast.net> wrote in message
>news:06c801c30423$d43cd9b0$a401280a@phx.gbl...
>> RMCrypto.BlockSize = 128;
>> iv = new byte[128];
>>
>> I get the error:
>> Specified initialization vector (IV) does not match the
>> block size for this algorithm.
>
>Keep in mind that the BlockSize and KeySize properties
are the number of
>_bits_ a block or keysize should be.
>Hence, a RijndaelManaged instance with a BlockSize of 128
expects a block
>size of 16 bytes.
>
>Regards,
>Pieter Philippaerts
>http://www.mentalis.org/
>
>
>.
>
- Next message: Richie: ".NET's 3DES produces different output than 3DES on ther platforms"
- Previous message: Ivan Medvedev [MS]: "Re: Encryption / decryption doesn't work"
- In reply to: Pieter Philippaerts: "Re: IV size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|