arXiv:2610.40507cs.CROct 2026

Manuscript Offprint

arXiv:2610.40507

RecHash: Segmented Hash-Entangled Chains for Stateful Sequential Authentication

Luis Adrián Lizama-Pérez

Abstract

RecHash is a stateful sequential authentication construction based on paired hash-chain openings and an authenticated record history. It develops the decreasing position relation of the 2019 hash-entangled construction, whose exact integer normalization yields a two-coordinate constant-sum antichain. Direct proportional reuse is constrained by integer capacity and multiplicative contraction. The main construction instead assigns each record to a predetermined chain segment, with complementary positions encoding each digest block. All digests fit every scheduled slot, independently of preceding messages. For an ℓ\ell-bit digest distributed over kk equal-length chain pairs, balanced allocation gives ⌊L/(2⌈ℓ/k⌉+1)⌋\lfloor L/(2^{\lceil\ell/k\rceil} + 1) \rfloor slots. A 256-bit digest, 32 pairs, and length 65535 provide 254 application records followed by a renewal certificate, with 2048 bytes of openings per record for 256-bit chain outputs. We give a complete segmented state transition, a worked trace, exact allocation and resource results, and a renewal-free security-composition theorem conditional on authenticated history and an adaptive one-step guarantee. The analysis relates the construction to constant-sum encodings and standardized hash-based signatures; a concrete post-quantum reduction and security across renewal remain open.

1 Introduction

RecHash studies sequential authentication using pairs of hash chains whose disclosed values become the verification heads for subsequent records. Its principal construction assigns successive messages to disjoint segments of the chains. Within each segment, a digest block selects two complementary positions: increasing one position decreases the other. Across segments, every new position lies before the positions disclosed in the preceding segment. This arrangement preserves the local constraint against forward substitution while providing a predetermined number of records per chain-generation phase.

The construction addresses a particular setting: one signer emits an ordered stream of records, and verifiers obtain its authoritative current state from an authenticated-history service, such as Singlechain or an equivalent mechanism. The service fixes order and membership; the chain openings authenticate a candidate extension. The signer waits for acceptance before disclosing the next record. This setting makes state synchronization part of the protocol and distinguishes the resulting records from signatures intended for independent verification under a fixed public key.

The historical starting point is the hash-entangled construction published in 2019 [1], which combined digest partitioning, a decreasing relation between chain positions, and Singlechain history. Its HMAC extension appeared online in 2021 and in a 2022 journal volume [2]; the 2023 review makes the relevant opening convention explicit [3]. We retain this chronology and recover the exact integer relation behind the construction. Under a positive coordinate normalization, its admissible position pairs form a constant-sum antichain. Constant-sum and incomparable encodings also appear in earlier and later signature research [4, 5, 6]. The equivalence established here concerns that local algebraic structure, not the complete protocols or their security models.

The paper develops two allocation profiles with different roles. DIRECT follows proportional recursion and exposes the capacity restrictions caused by integer positions and repeated contraction. SEGMENTED is the main operational construction: it schedules translated constant-sum codes in advance, so every digest fits each designated slot regardless of earlier messages. DIRECT supplies the analytical comparison explaining this design choice. No automatic transition between the profiles is part of the protocol.

For an ℓ\ell-bit digest divided among kk chain pairs of equal length LL, balanced partitioning gives ⌊L/(2⌈ℓ/k⌉+1)⌋\lfloor L/(2^{\lceil\ell/k\rceil} + 1) \rfloor slots. With ℓ=256\ell = 256, k=32k = 32, and L=65535L = 65535, the construction uses 64 physical chains and provides 255 slots: 254 application records and one renewal certificate under the continuing-operation policy. Each record contains 64 hash openings, or 2048 bytes when chain outputs are 256 bits, in addition to its context and payload.

The results comprise the historical algebraic normalization, exact capacity and allocation bounds, a state-transition specification, and analytic resource counts. Security is expressed through a conditional composition theorem: an adaptive one-step bound, together with authenticated history and exclusive state use, bounds accumulated impersonation probability over an admissible renewal-free horizon. Establishing that one-step bound from concrete hash assumptions, including quantum adversaries, remains a separate task. The following sections place the construction in context, define and illustrate the segmented protocol, analyze proportional allocation, and develop the security and parameter results.