develooper Front page | perl.crypto | Postings from May 2012

Crypt::CBC 2.30

May 12, 2012 05:08
Crypt::CBC 2.30
Message ID:

I have a problem with my Crypt::CBC v2.30.
Some files can be encrypted and decrypted but others don't. It gives me
the following error:
"Ciphertext does not begin with a valid header for 'salt' header mode"

Things I already did:
googled that stuff. Seems that encrypted content with older versions are
incompatible with the latest versions of Crypt::CBC....
Played around with -salt, -header randomiv and so on
One line (text)files are no problem.

It rly bothers me because my script is able to encrypt/decrypt some
files without any error =/

I'm running Ubuntu latest version. Files are encrypted/decrypted with
Crypt::CBC 2.30 using Twofish.

Link to my script -->

Greetings Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About