Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Crypt::CBC losing its RandomIV

by Solostian (Beadle)
on Mar 20, 2006 at 16:50 UTC ( #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
Node Status?
node history
Node Type: note [id://537988]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2017-02-25 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (369 votes). Check out past polls.