Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Data File Encryption

by phydeauxarff (Priest)
on Apr 23, 2003 at 13:54 UTC ( [id://252540] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl
     use Crypt::CBC;
    ...
          print $cipher->crypt($buffer);
      }
    close STDOUT;
    
  2. or download this
    $cipher->start('decrypting');
    open(F,"./crypt_file");
      while (read(F,$buffer,1024)) {
          print $cipher->crypt($buffer);
      }