Hi,
If you want to encrypt the content of a file using
Crypt::Blowfish, you can slurp it, and pass the cypher as it where a "normal scalar", and then you can handle the content writing it back to disk, sending it, etc.
You can deal with files as large as you want, given the required system resources.
As Crypt::Blowfish relies on an external C library (Blowfish.so) it is faster than the "Pure Perl" implementation,
Crypt::Blowfish_PP
Update: Sorry about this. I did not explained as i should. I was meaning that when encrypting with Blowfish, it does not matter weather you use text coming from a string, file or whatever, thinking always about chunking it before attempting to encrypt it. As it has been replied, you need to split the content as you encrypt it, but i was centered on the no limitation for the size of the file being encrypted, and the possibility of this module for handling unlimited chunks of data.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.