I found that if I change $data to "12345678", it works.  How can I encrypt a
string that has more than 8 characters?

Thanks,
Tyler

----- Original Message -----
From: "Tyler Longren" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 3:47 PM
Subject: Crypt::Blowfish errors on line 56


> Hi Folks,
>
> The code at http://longren.no-ip.org/tyler/blowfish.pl encrypts some
$data.
> Once the data is encrypted, the hex value should be stored in $ciphertext.
> $plaintext should have the original data that's in $data.
>
> When I run this code, I recieve this error:
> "input must be 8 bytes long at
> /usr/lib/perl5/site_perl/i386-linux/Crypt/Blowfish.pm line 56."
>
> Does anybody know why this happens?
>
> You can view the code here:
> http://longren.no-ip.org/tyler/blowfish.pl
>
> Thanks,
> Tyler
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to