[Paper Review] An online algorithm for generating fractal hash chains applied to digital chains of custody
This paper presents an online algorithm for generating fractal hash chains that dynamically constructs and stores only ⌈log n⌉ pebbles, enabling efficient traversal and verification of large, time-sensitive digital evidence chains on resource-constrained devices. The method matches Jakobsson’s preimage traversal efficiency while eliminating the need to precompute the full chain, making it ideal for real-time digital chains of custody in digital forensics.
This paper gives an online algorithm for generating Jakobsson's fractal hash chains. Our new algorithm compliments Jakobsson's fractal hash chain algorithm for preimage traversal since his algorithm assumes the entire hash chain is precomputed and a particular list of Ceiling(log n) hash elements or pebbles are saved. Our online algorithm for hash chain traversal incrementally generates a hash chain of n hash elements without knowledge of n before it starts. For any n, our algorithm stores only the Ceiling(log n) pebbles which are precisely the inputs for Jakobsson's amortized hash chain preimage traversal algorithm. This compact representation is useful to generate, traverse, and store a number of large digital hash chains on a small and constrained device. We also give an application using both Jakobsson's and our new algorithm applied to digital chains of custody for validating dynamically changing forensics data.
Motivation & Objective
- To enable real-time, dynamic generation of fractal hash chains for digital evidence without prior knowledge of chain length.
- To reduce storage overhead in constrained devices by maintaining only ⌈log n⌉ pebbles instead of the full chain.
- To support secure, verifiable time-stamping of evolving digital evidence in digital forensics.
- To integrate with existing preimage traversal techniques like Jakobsson’s for efficient verification.
- To enhance digital chain-of-custody integrity by enabling deferred disclosure and repeated validation.
Proposed method
- The algorithm incrementally generates hash elements without requiring knowledge of the final chain length n.
- It maintains a compact set of pebbles at positions corresponding to powers of two, aligned with Jakobsson’s fractal hash chain structure.
- Pebbles are dynamically updated when the total number of hash elements reaches a threshold tied to their move increment.
- The algorithm uses a pebble structure with fields: Position, Move_Increment, and distancefromSeed to track traversal points.
- Pebbles are inserted at the front of the list and repositioned based on a growth condition that checks if totalHashElements matches a pebble’s target.
- The system ensures correctness by induction, proving pebble positions match Jakobsson’s algorithm for all n, including non-power-of-two lengths.
Experimental results
Research questions
- RQ1Can a fractal hash chain be generated online without precomputing the entire chain?
- RQ2How can the number of stored pebbles be minimized while still enabling efficient preimage traversal?
- RQ3What is the minimal data structure that supports dynamic, incremental construction of a fractal hash chain?
- RQ4How can such a system be integrated into digital chains of custody for time-sensitive evidence?
- RQ5Does the online algorithm preserve the correctness and traversal efficiency of Jakobsson’s original fractal hash chain approach?
Key findings
- The online algorithm generates fractal hash chains incrementally, storing only ⌈log n⌉ pebbles regardless of chain length n.
- For any n, the pebble positions generated by the online algorithm exactly match those in Jakobsson’s precomputed fractal hash chain.
- The algorithm correctly handles non-power-of-two chain lengths by dynamically adjusting pebble positions using a growth condition.
- The pebble update mechanism ensures that each pebble is moved forward by its Move_Increment value when the total number of hash elements reaches a critical threshold.
- The proof by induction confirms that the algorithm maintains correctness across all n ≥ 4, with pebbles always positioned to support efficient backward traversal.
- The system enables secure, deferred disclosure of hash chain elements, supporting repeated verification without storing the entire chain.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.