note
naChoZ
<p>
Instead of letting Crypt::CBC try and figure out a cipher on its own (where it's clearly picking 'Random' as the cipher you want to use in this case), you can specify one yourself...
</p>
<p>
<code>
my $cipher = Crypt::CBC->new( -key => $key, cipher => 'Rijndael' );
</code>
</p>
<p>
That will cause it to use [cpan://Crypt::Rijndael] for the cipher.
</p>
<div class="pmsig"><div class="pmsig-87699">
<p>
-- <br />
Andy
</p>
</div></div>
1018776
1018776