leon breedt
11/5/2004 5:16:00 AM
Hi,
Perhaps this is not possible, but I was wondering if there was a way
to save/load the state of a Digest. Not the digest value itself but
the state that gives a particular digest value.
Why?
If I am retrieving some data, and update the digest as I receive
bytes, it would be more efficient if I could store the state that
would give me the digest of the data up to a certain point, as I can
avoid rescanning the data when resuming an interrupted retrieval and
just "resume" the digest update as well, especially as the file size
increases.
Is this at all feasible? (Leaving security/integrity concerns aside).
Leon