Syntactic Confectionery Delight | |
PerlMonks |
Re: Crypt::CBC and varying the keyby jimbojones (Friar) |
on Mar 10, 2006 at 20:33 UTC ( [id://535809]=note: print w/replies, xml ) | Need Help?? |
Hi If I understand you correctly, you're not doing CBC (cipher block chaining). See this article in Wikipedia. If you are doing CBC, you only need a key and one initialiation vector (IV). The "chaining" is to use the previous block as the IV for the next block before encrypting with the key. CBC allows you to chain together a message that is bigger than the block size as one unit. Is this not what you want? Hope this helps, J
In Section
Seekers of Perl Wisdom
|
|