Does anyone know any good hash functions with the following property:
Given buffers
buf1andbuf2of bytes of lengthnandmwith hashesAandB.Compute in constant time the hash of the concatenation of the data in
buf1andbuf2givenn,m,A,B.
In other words, I can piece the hash of the whole thing from its parts without having to reread any parts of the data more than once.