Hey Jeff,

> When using it in pipelining, you will want the compressor outermost so
> that it process data first. Below, data travels from TOP/LEFT to
> CENTER/RIGHT.

A very important observation!

I was under the impression that it goes inside -> out, like it usually
does, e.g.:
MeLast( MeNext( MeFirst() ) );

--

For general knowledge: in the example you gave (I think you mixed
encrypt with Gunzip instead of Gzip.. no biggie), let's say I have a
source file of a few kilobytes, and let's say PumpAll() pumps 1024 on
each iteration. Is the behavior going to be:
(A)
1. GZip 1024;
2. Encrypt 1024 zipped bytes;
3. Store intermediate result in sink?

Or is it going to be:
(B)
1. Gzip the entire stream;
2. Encrypt the entire zipped result;
3. Store the entire encrypted result in sink?

I tend to believe that it'll be (A), but here's where I'm lacking
knowledge again - won't I need to scan all the input bytes in order to
produce a better compression scheme (dictionaries, etc) than zipping
unrelated byte portions?
Same goes for block ciphers - won't I need to have (at least) the last
block from the previous iteration for XORing / other purposes - with
the next block?

Thanks,

    Avi.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to