in reply to Re: Re (tilly) 1: Streaming Compression
in thread Streaming Compression

If you are using a half-way decent encryption algorithm, I guarantee you that the only way a compression algorithm can significantly compress your data later is if it breaks your encryption. By contrast if you compress your data first you will get compression and also make your encryption harder to break.

But if you want, try coding it up both ways and see for yourself. I would offer a bet that my way works better, but I dislike stealing money on a sucker bet.

Replies are listed 'Best First'.
Re: Re (tilly) 3: Streaming Compression
by satanklawz (Beadle) on Dec 21, 2001 at 00:23 UTC
    Yeah, after your insight, it does work better to compress first. ::pat's yer back:: this is only based on experimentation with other compression and encryption utils... i'm still having problems figuring out Compress::Zlib. I just cant seem to find enough documentation, even tho I know it's out there. But thanks. :)