# $fh_plain->write($cipher->crypt($fh_cipher->getline)) until ($fh_cipher->eof); do { $fh_cipher->read($buf, length($self->{SYMMKEY})); $fh_plain->write($cipher->crypt($buf)) } until ($fh_cipher->eof);