Crypt::CBC 2.30

2012-05-12 Thread Perforin
Hi

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 while decrypting:
"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 -->
http://download.adamas.ai/dlbase/Scripts/twofish_crypter.txt


Greetings


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/




Re: Crypt::CBC 2.30

2012-05-12 Thread Brandon McCaig
On Sat, May 12, 2012 at 02:24:55PM +0200, Perforin wrote:
> Hi

Hello:

> I have a problem with my Crypt::CBC v2.30.
*snip*
> Link to my script -->
> http://download.adamas.ai/dlbase/Scripts/twofish_crypter.txt

You should inline your program in your mail message. That way
it's easy to read it and quote it in replies. At least attach it.
Some people might not want to go to the trouble of downloading it
from a random site on the Web.

Regards,


-- 
Brandon McCaig  
Castopulence Software 
Blog 
perl -E '$_=q{V zrna gur orfg jvgu jung V fnl. }.
q{Vg qbrfa'\''g nyjnlf fbhaq gung jnl.};
tr/A-Ma-mN-Zn-z/N-Zn-zA-Ma-m/;say'



signature.asc
Description: Digital signature