We consider an (unbounded) stream of character strings of fixed, given length k, called chunks, and wish to apply a
certain operation on each of the elements of this stream. For the ease of description, we shall use the remainder operation
modulo some large integer P as a running example, considering each chunk as representing an integer of size k bytes. The
method, however, applies as well to a large variety of other associative operations: if one considers a chunk as a sequence
of numbers, one could calculate their sum, product, maximum or minimum, or Boolean operations like and, or or xor.