I have been hunting around looking for a module that will encrypt binary data. There are tons of modules that encrypt plaintext, but I could not find one that would encrypt a binary file (say a MS Word document or a PDF file).
What I would like is a module that could encrypt binary data without the use of an external program. (A pure Perl implementation would be nice, but I'll take what I can get.) Does anyone know of such a module where I could use syntax similar to:use Imaginary::Crypt; $cipher = Imaginary::Crypt->new($key); # $fileName is the path to the file to encrypt # and $newFileName is where the now encrypted # file would reside $cipher->encrypt($fileName, $newFileName);
In reply to Encrypt Binary Data by enoch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |