[
Lists Home |
Date Index |
Thread Index
]
Bjoern Hoehrmann <derhoermi@gmx.net> writes:
> In order to know whether the checksum is correct the parser
> would need to read the complete document and calculate the
> checksum.
No. There are many algorithms that work on partial fragments. The
standard Java security.MessageDigest classes for example. As long as
both sides agree what the buffer size is and what the algorithm is you
don't need to handle the entire document at once.
|