Crypt-CBC
view release on metacpan or search on metacpan
- Support for openssl SHA-256 key derivation algorithm
2.33 Tue Jul 30 16:02:04 EDT 2013
- Fix minor RT bugs 83175 and 86455.
2.32 Fri Dec 14 14:20:17 EST 2012
- Fix "Taint checks are turned on and your key is tainted" error when autogenerating salt and IV.
2.31 Tue Oct 30 07:03:40 EDT 2012
- Fixes to regular expressions to avoid rare failures to
correctly strip padding in decoded messages.
- Add padding type = "none".
- Both fixes contributed by Bas van Sisseren.
2.29 Tue Apr 22 10:22:37 EDT 2008
- Fixed errors that occurred when encrypting/decrypting utf8 strings
in Perl's more recent than 5.8.8.
2.28 Mon Mar 31 10:46:25 EDT 2008
- Fixed bug in onesandzeroes test that causes it to fail with Rijndael module
is not installed.
t/github-issue7.t view on Meta::CPAN
my $params = {
'key' => $key,
'cipher' => 'Blowfish',
'header' => 'randomiv',
'nodeprecate' => 1
};
my $cipher = Crypt::CBC->new($params);
my $encoded = $cipher->encrypt_hex($teststring);
my $decoded = $cipher->decrypt_hex($encoded);
ok($teststring eq $decoded, "Properly decoded Blowfish with header => randomiv");
done_testing();
( run in 0.705 second using v1.01-cache-2.11-cpan-e9daa2b36ef )