Quotekeysize
Returns the keysize, which is 32 (bytes). The Rijndael cipher actually supports keylengths of 16, 24 or 32 bytes, but there is no way to communicate this to Crypt::CBC.
http://search.cpan.org/~bdfoy/Crypt-Rijndael-1.05/...
und da
Crypt-CBC verwendet wird, das eine Blockgröße von 16 Byte standardgemäß verwendet.
QuoteWhen the last block of plaintext is shorter than the block size, it must be padded. Padding methods include: "standard" (i.e., PKCS#5), "oneandzeroes", "space", and "null".
http://search.cpan.org/~lds/Crypt-CBC-2.24/CBC.pm#...
Du musst also "nachfüllen".
Warum rufts du nicht gleich Crypt-CBC auf?