Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Crypt::CBC losing its RandomIV

by Solostian (Beadle)
on Mar 20, 2006 at 16:50 UTC ( [id://537988]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # $fh_cipher->write($cipher->crypt($fh_plain->getline)) until ($fh_pla
    +in->eof);
    do {
        $fh_plain->read($buf, length($self->{SYMMKEY}));
        $fh_cipher->write($cipher->crypt($buf))
    } until ($fh_plain->eof);
    
  2. or download this
    # $fh_plain->write($cipher->crypt($fh_cipher->getline)) until ($fh_cip
    +her->eof);
    do {
        $fh_cipher->read($buf, length($self->{SYMMKEY}));
        $fh_plain->write($cipher->crypt($buf))
    } until ($fh_cipher->eof);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://537988]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-16 20:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found