Pumeleon has asked for the wisdom of the Perl Monks concerning the following question:
Do I have to manually pad everything and chop it up into pieces of eight?my $Cipher = Crypt::CBC->new( {'key' => "My secret key. + Shush.", 'cipher' => 'Blowfish', 'padding' => 'null', 'iv' => '{3fd#t4^$#', 'regenerate_key' => 0, 'prepend_iv' => 0 }); $Cipher->start('e'); my $Shout = $dbh->quote($Cipher->crypt($q->param('Message'))); $cipher->finish();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CBC being a pain
by Thelonius (Priest) on Jan 23, 2005 at 00:25 UTC | |
by Pumeleon (Initiate) on Jan 23, 2005 at 01:16 UTC | |
by YetAnotherDave (Beadle) on Jan 23, 2005 at 17:14 UTC |