in reply to Crypt::CBC help!

The bug is you don't end the cypher with  $cipher->finish.. it needs that to complete the encryption buffer. Hope that helps

Glenn H.