Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I would appreciate any help. I have read and re-read the docs, I ahve changed the -salt value from 1 to leaving it blank, but I'm dumbfounded about this. I cannot duplicate it because it does not happen every time, which is soooo strange.sub decrypt { my $ciphertext = shift; my $key = "somekeyhere"; my $cipher = Crypt::CBC->new( -key => $key, -cipher => 'Blowfish', -salt => 1 ); return ($cipher->decrypt_hex ($ciphertext)); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: decryption problem
by moritz (Cardinal) on Aug 30, 2007 at 06:42 UTC | |
|
Re: decryption problem
by andyford (Curate) on Aug 30, 2007 at 18:12 UTC | |
by Anonymous Monk on Aug 31, 2007 at 15:12 UTC | |
by andyford (Curate) on Aug 31, 2007 at 16:33 UTC | |
|
Re: decryption problem
by ikegami (Patriarch) on Aug 31, 2007 at 15:38 UTC |