Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-08-29 04:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls