in reply to Length of Crypt::CBC result

I'm going to suggest that you read The Handbook of Applied Cryptography specifically Chapter 7. pgs 229-231.

C-.