in reply to Re: Encrypting large files with Crypt::Blowfish
in thread Encrypting large files with Crypt::Blowfish
That's entirely false. Crypt::Blowfish only encrypts blocks of exactly 8 bytes. Passing an entire file will result in an error (unless, of course, the file happens to be 8 bytes long).
if (input_len != 8) croak("input must be 8 bytes long");
The Pure Perl version doesn't croak, but it only encrypts the first 8 bytes of data passed to it.
Crypt::CBC is the solution to this, as mentioned in the Crypt::Blowfish docs.
|
|---|