[Cryptography] Hierarchical bulk digest modes

Jerry Leichter leichter at lrw.com
Thu Aug 19 09:45:41 EDT 2021


> Traditionally, a digest converts a sequence of bits to a fixed length output
> 
> M(d) -> 256 bits
> 
> We can now detect a single bit of corruption in the data file. Great! But that doesn't give us any information if the data is corrupted. We don't know where the corruption occurred. That is fine for little files but what about when we are dealing with 1TB archives?
> 
> A better approach would be to split the data up into chunks and construct a digest (Merkle tree??) over the chunks. But how big should the chunks actually be? There is clearly a tradeoff here which we traditionally just skate over entirely because we have this 'any fault will destroy our crypto' approach….
Sounds an awful lot like what rsync does….

                                          -- Jerry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.metzdowd.com/pipermail/cryptography/attachments/20210819/e74ed5ff/attachment.htm>


More information about the cryptography mailing list