Abstract
We introduce the Hamiltonian pseudorandom function (HPRF), a new symmetric cryptographic primitive in which the function family is defined by , the gradient of the generating function of a secret Lagrangian submanifold on the symplectic torus . The key k specifies a composition of kicked-rotor maps in the strongly chaotic regime, whose classical Lyapunov exponents grow as per kick. The HPRF is best understood as a seeded one-way function with high min-entropy output: is smooth (), so its raw output is not directly usable as a uniform keystream, but it is computationally hard to invert. We construct three symmetric encryption modes—Mode A (key-dependent coordinate frame), Mode C (Lagrangian keystream), and Mode AC (hybrid)—in which the HPRF supplies the hardness and a key derivation function (HKDF) supplies bit-level uniformity. Standard symmetric composition then yields IND-CPA and IND-CCA2 security. Classical security reduces to the Lagrangian identification problem (LIP), shown as equivalent to the Hamiltonian inversion problem of recovering the kick parameters, which we state as an explicit hardness assumption supported by a precision/sample-complexity obstruction from the positive Lyapunov exponents, by the empirical failure of concrete attacks, and (more heuristically) by topological suggestiveness from the Arnold conjecture and Floer theory. We validate a gradient-fitting attack and an algebraic-structure attack and show that both fail. For quantum security, we propose what we believe is the right framing: that the composed Floquet operator is a candidate pseudorandom unitary (PRU) in the sense of Ji–Liu–Song. We provide three independent pillars of evidence—Wigner–Dyson spectral statistics, Lyapunov-rate scrambling, and conjectural approximate-design behaviour—and reduce the HPRF quantum security to the PRU conjecture for . We then retire the dynamical-localisation argument of previous drafts as inapplicable at cryptographic parameters; the chaotic-pseudorandomness regime that the operator actually inhabits is, we argue, a stronger foundation than the one that localisation would have provided. A deterministic fixed-point arithmetic core ensures cross-platform bit-exact consistency. A reference implementation validates correctness across all modes, and an NIST SP 800-90B analysis of the output min-entropy fixes the parameter sets. As a foundational proposal, the HPRF is intended for settings that seek a symmetric hardness assumption structurally independent of the algebraic problems underlying current cryptography, for example, as a hedge primitive in defence-in-depth designs, or as a basis for further study of geometry- and chaos-based cryptography, rather than as a drop-in replacement for AES or lattice-based schemes at this stage.
1. Introduction
The security of contemporary public-key cryptography rests on the presumed hardness of algebraic problems: integer factorisation [1], the discrete logarithm [2], and their elliptic-curve analogues [3,4]. Shor’s algorithm [5] renders all three efficiently solvable on a sufficiently large quantum computer, motivating the search for post-quantum primitives. NIST post-quantum standardisation [6] has concentrated on lattice-based [7], hash-based [8], and code-based [9] schemes, each of which replaces the broken algebraic structure with a different algebraic one. The hardness assumptions are new, but the algebraic character of the construction is not.
In this paper, we explore a fundamentally different approach grounded in geometric topology and Hamiltonian dynamics rather than algebra. We define a function family whose evaluations are the gradients of generating functions on Lagrangian submanifolds evolved under chaotic Hamiltonian flows, and we use this primitive to build symmetric encryption schemes with provable security.
1.1. Motivation
Every existing pseudorandom function, from AES [10] and ChaCha20 [11] to lattice-based constructions, is built from algebraic operations on algebraic structures (groups, rings, fields, modules). The linearity of these structures is what makes algebraic attacks possible and what Shor’s algorithm exploits. We believe that symplectic geometry offers this structure. A symplectic manifold carries a natural notion of conjugate duality between position and momentum coordinates, and this is formalised by the symplectic form . A Lagrangian submanifold L sits in perfect equilibrium between these conjugate directions: the condition means that every tangent direction within L mixes position and momentum. When L is evolved under a chaotic Hamiltonian flow, its identity becomes exponentially difficult to recover: the chaotic sensitivity amplifies any uncertainty in the Hamiltonian parameters, while the topological structure of the Lagrangian Grassmannian ensures that polynomially many local observations are consistent with exponentially many candidate submanifolds. The HPRF exploits both properties. The key specifies a chaotic Hamiltonian diffeomorphism; the HPRF output at a point q is the momentum coordinate of the secret Lagrangian above q. Recovering the key requires solving the Lagrangian identification problem, determining which Lagrangian submanifold, among an exponentially large family, is consistent with the observed input–output pairs.
1.2. What This Primitive Is
Previous versions of this work found that the map is smooth (): nearby inputs produce correlated outputs, with avalanche far below at single-ULP perturbations. A literal reading of as a pseudorandom function in the standard indistinguishability-from-random sense is therefore false, so we do not claim it. Instead, we view as a seeded one-way function with high min-entropy output. Its computational hardness lies in the difficulty of recovering k from evaluations, and its output carries enough min-entropy to seed a key derivation function. The encryption modes of Section 6 apply HKDF [12] to the HPRF output to obtain bit-level uniformity. The HPRF supplies hardness; HKDF supplies uniformity. This separation of roles is analogous to how a Diffie–Hellman value is hashed before use as a symmetric key.
1.3. Contributions
- (i)
- We define the Hamiltonian one-way function , formulate its security as a one-more-evaluation unpredictability assumption (Section 4), and ground it in chaotic Hamiltonian dynamics on the symplectic torus.
- (ii)
- We construct three symmetric encryption modes—Mode A (key-dependent coordinate frame), Mode C (Lagrangian keystream), and Mode AC (hybrid)—and prove IND-CPA and IND-CCA2 security in the random-oracle model for HKDF (Section 6).
- (iii)
- We introduce the Lagrangian identification problem (LIP), prove it to be equivalent to the Hamiltonian inversion problem (HIP) of parameter recovery (Theorem 10), state HIP hardness as an explicit assumption, and present supporting evidence from a precision obstruction, failed attacks, and (more heuristically) symplectic topology (Section 7).
- (iv)
- We introduce and empirically validate the gradient-fitting attack and the algebraic-structure attack, demonstrating that both fail at sub-cryptographic scale and arguing that the failure mode is structural (Section 8).
- (v)
- We rewrite the quantum-hardness argument around the conjecture that the Floquet operator is a pseudorandom unitary (PRU) in the sense of Ji–Liu–Song [13]. We provide three pillars of evidence—Wigner–Dyson spectral statistics, Lyapunov-rate scrambling, and conjectural approximate-design behaviour—and reduce quantum HPRF security to the PRU conjecture (Section 9).
- (vi)
- We implement a deterministic fixed-point arithmetic core for cross-platform reproducibility (Section 10) and validate the full scheme empirically (Section 11). In particular, we estimate the output min-entropy with the NIST SP 800-90B battery, measuring bits per output bit; this directly determines the coordinate counts of our parameter sets, requiring at the 192- and 256-bit levels (Section 8.3 and Section 12).
Scope
The HPRF is a symmetric primitive. Symmetric schemes such as AES [10] are already believed to be quantum-resistant up to a Grover square-root speedup [14], addressed by doubling key sizes. The contribution of this work is not to replace AES or lattice-based KEMs but to explore whether geometric topology and quantum chaos can serve as a fundamentally new foundation for cryptographic hardness. It would create one that is structurally nonlinear and qualitatively different from all existing algebraic constructions. We view this as a foundational proposal opening a new design space; establishing practical competitiveness with AES-256 is a goal for future engineering work.
1.4. Organisation
Section 2 reviews symplectic geometry, Lagrangian submanifolds, and the quantum kicked rotor. Section 3 establishes Green’s theorem connection. Section 4 defines the Hamiltonian one-way function. Section 5 specifies key generation. Section 6 constructs the three encryption modes with security proofs. Section 7 presents the LIP/HIP hardness foundations. Section 8 gives the cryptanalytic self-validation. Section 9 treats quantum hardness via the PRU framing. Section 10 describes the fixed-point arithmetic core. Section 11 presents empirical results. Section 12 analyses parameters. Section 13 discusses related work. Section 14 discusses implications, limitations, and open problems. Section 15 concludes.
2. Background
2.1. Symplectic Manifolds and Lagrangian Submanifolds
Definition 1
(Symplectic manifold). A symplectic manifold is a pair where M is a smooth -dimensional manifold and is a closed (), non-degenerate 2-form called the symplectic form. The canonical example is with coordinates and .
Definition 2
(Lagrangian submanifold). A submanifold of dimension n is Lagrangian if and .
The condition means that no tangent direction within L is conjugate to another; every vector in mixes the q- and p-directions. By the Weinstein Lagrangian neighbourhood theorem [15], every Lagrangian has a tubular neighbourhood symplectomorphic to a neighbourhood of the zero section in , making Lagrangians the local building blocks of symplectic geometry.
The space of all Lagrangian submanifolds is the Lagrangian Grassmannian . Its fundamental group is , generated by the Maslov index [16].
2.2. Generating Functions for Lagrangian Submanifolds
If projects diffeomorphically onto the q-coordinates, there exists a smooth function such that
The function S is a generating function of the first kind for L. On the torus , the generating function is -periodic and determines L uniquely up to a constant. When for a Hamiltonian diffeomorphism , the generating function is computed from the key k by integrating the Lagrangian action along the flow.
Remark 1
(Caustics). Not every Lagrangian admits a global generating function of the first kind; the projection may have fold singularities. For the kicked-rotor family with parameters in the ranges that we specify, the Lagrangian generically has at most caustic points on . These are handled via generating functions quadratic at infinity (GFQI) in the sense of Viterbo [17]. For clarity, we present all constructions assuming a global generating function; the GFQI generalisation is straightforward and does not affect security.
2.3. Hamiltonian Diffeomorphisms
A Hamiltonian diffeomorphism is the time T flow of a time-dependent Hamiltonian via Hamilton’s equations: , . The group acts on Lagrangian submanifolds: if L is Lagrangian and , then is also Lagrangian [18].
2.4. The Quantum Kicked Rotor
The quantum kicked rotor [19,20] is defined by the Hamiltonian
on the phase-space torus . The stroboscopic Poincaré map after one kick period is the Chirikov standard map [21]:
For kick strength , the last KAM torus breaks [22] and phase space becomes predominantly chaotic. The maximal Lyapunov exponent in the strongly chaotic regime () satisfies [21,23]
The quantum version replaces the classical map with the Floquet operator
acting on . The spectral and dynamical properties of are central to the quantum security argument of Section 9.
3. Green’s Theorem Duality
Green’s theorem [24], in its modern form as Stokes’ theorem [25], states that . For a Lagrangian submanifold , the defining condition is exactly the statement that the symplectic form contributes nothing when integrated over L. On a two-dimensional slice,
where is bounded by the path connecting conjugate projections and of a point . The boundary integral (what carries) and the interior integral (what carries) are in exact equilibrium—this is the “Lagrangian balance” that motivates the scheme’s name.
The cryptographic question is: given satisfying , on which Lagrangian submanifold does P lie? This is the Lagrangian identification problem (Section 7).
When the symplectic manifold has nontrivial topology—as on the torus with its two independent cycles satisfying —the balance condition acquires topological richness. A Lagrangian curve on has winding numbers with , and different winding classes are topologically distinguishable. The key selects the winding class; the message rides on it.
4. The Hamiltonian One-Way Function
We now define the central primitive of this paper. As discussed in Section 1.2, we frame it as a seeded one-way function rather than as a literal PRF.
Definition 3
(Hamiltonian one-way function). Let λ be a security parameter. Fix a symplectic manifold , a reference Lagrangian (the zero section), and a Hamiltonian family consisting of compositions of kicked-rotor maps with parameters , where . The Hamiltonian one-way function family is
where is the generating function of and is the Hamiltonian diffeomorphism determined by the key .
Remark 2
(Evaluation procedure). is computed by pushing through the full Hamiltonian flow: , then . This requires r applications of the Chirikov map (3), each involving one sine evaluation and arithmetic operations, for a total cost of operations. Crucially, evaluation is forward-only: neither the encryptor nor the decryptor ever needs to invert the chaotic flow. This is essential because the positive Lyapunov exponents that provide security would equally prevent correct inversion on quantised data.
4.1. Security Assumption: One-More-Evaluation Unpredictability
We replace the indistinguishability-from-random framing of earlier drafts with a one-more-evaluation unpredictability assumption that better matches what the geometry provides.
Assumption 1
(HPF security). For a uniformly random key , no probabilistic polynomial-time adversary with adaptive evaluation oracle access to on points of its choosing can, after queries, predict on a fresh challenge point with a non-negligible advantage:
This assumption is the foundation for all encryption modes in Section 6. Its plausibility rests on the hardness of recovering the key from evaluations: by Theorem 10, this is the Lagrangian identification problem, equivalently the Hamiltonian inversion problem, whose hardness we state as Assumption 4 and support with the evidence of Section 7 and the empirical cryptanalysis of Section 8.
Remark 3
(Unpredictability is not min-entropy). Assumption 1 concerns unpredictability: no efficient adversary can guess on a fresh point. This is logically independent of the min-entropy of the output distribution. A function may be hard to predict exactly while having its output concentrated on a small set, and conversely, a high-entropy output may still be predictable if its structure is known. The security proofs of Section 6 require both properties of the quantised HPF output: unpredictability (to defeat key recovery) and sufficient min-entropy (so that HKDF, acting as a randomness extractor, yields a uniform keystream). We therefore state the min-entropy requirement as a separate, explicit assumption rather than deriving it from Assumption 1.
Assumption 2
(HPF output min-entropy). Fix the precision parameter b of Section 10 and let denote the quantised HPF output. For a uniformly random key and an evaluation point derived from a fresh nonce, the conditional min-entropy of the quantised output, given the adversary’s view (its prior oracle transcript and the nonce ν), satisfies
Remark 4
(Why this is plausible but assumed). The quantised output lives in an -bit space, so requires at minimum . The chaotic, broadband character of the composed map (Section 8) makes high min-entropy plausible: a strongly mixing map spreads its output mass widely across the torus. Smoothness () means that we cannot claim the full bits, as neighbouring evaluation points are correlated, but Assumption 2 asserts only the bound λ on a single freshly nonced evaluation, which is all the extractor step consumes. The empirical analysis of Section 8.3 measures a per-bit min-entropy of , so the achievable aggregate is ≈0.967 nb rather than ; the bare condition is therefore necessary but not sufficient, and the parameter sets of Section 12 are sized to give 0.967 with margin. A formal min-entropy lower bound (rather than the empirical estimate) remains an open problem (Section 14.6).
Remark 5
(Why one-more-evaluation, not PRF). A standard PRF assumption asserts that is computationally indistinguishable from a uniformly random function. The HPF cannot satisfy this: nearby inputs produce correlated outputs (Section 8.3), so a distinguisher with two close queries wins trivially. The one-more-evaluation game replaces “looks like random” with “cannot be predicted on a fresh point,” which is exactly the property that the chaotic dynamics provide, and one that suffices for the encryption modes once the output is passed through HKDF.
4.2. Structural Properties
The HPF has properties distinguishing it from existing one-way functions and PRF candidates:
- (a)
- Fundamental nonlinearity.is a composition of r nonlinear maps on a curved manifold. The output is not a linear, polynomial, or algebraic function of the input in any sense.
- (b)
- Smoothness.Unlike a hash function, is smooth (). Nearby inputs produce outputs differing in magnitude but not exhibiting bit-level independence. This is a structural property of the primitive, not a deficiency: the encryption modes compensate via HKDF (Section 6).
- (c)
- Topological constraint.The graph of lies on the Lagrangian submanifold satisfying . This global constraint connects HPF hardness to deep results in symplectic topology (Arnold conjecture, Floer homology), as discussed in Section 7.4.
5. Key Generation and Scheme Setup
5.1. Parameters
Fix security parameter . The public parameters are as follows:
- Manifold: with chosen so the output min-entropy clears (Section 8.3): at , at , at (see Table 1).
- Kick count: .
- Kick strength: (deep chaos, bits/kick), .
- Precision: bits per coordinate.
- Hash: SHA-256. KDF: HKDF based on HMAC-SHA256.
Table 1.
Recommended parameter sets for the HPRF and Mode C.
5.2. Key Generation
Construction 1
(). Sample r kicked-rotor parameters: with . The secret Lagrangian is , where is the composition of r Chirikov maps with these parameters.
6. Encryption Modes
We construct three symmetric encryption modes, each providing genuine message confidentiality. The novelty is in the underlying HPF; the constructions themselves use standard symmetric techniques (nonce-based encryption, KDF, encrypt-then-MAC). This separation is deliberate: the HPF provides the hardness while the standard components provide the bit-level properties (avalanche, uniformity, integrity) that a smooth () function cannot provide directly.
6.1. Auxiliary Functions
All modes use the following shared primitives derived from the key:
- : derives ℓ bytes from key k and nonce with domain separation via , using HKDF.
- : HMAC-SHA256 with a key derived from k, truncated to 128 bits.
- : encodes message as a coordinate via a uniform grid mapping: partition m into n blocks of bits, convert to torus coordinates via .
6.2. Design Rationale: Why Not Transmit the Message Coordinate Directly?
A simpler construction would pair the message coordinate with its Lagrangian authenticator . However, this transmits the message in the clear: is a deterministic function of m alone, independent of the key. Such a construction is functionally a message authentication code grounded in symplectic geometry—it verifies that the pairing came from a party holding the key, but provides zero confidentiality. All three modes below are specifically designed to avoid this, ensuring that the ciphertext reveals nothing about the plaintext without the key.
6.3. Mode A: Key-Dependent Coordinate Frame
Mode A achieves confidentiality via a key-dependent torus shift while preserving the Lagrangian ciphertext structure.
Construction 2
(Mode A Encryption). :
- 1.
- Sample nonce .
- 2.
- Derive basepoint: .
- 3.
- Encode message: .
- 4.
- Shift: .
- 5.
- Lagrangian authenticator: .
- 6.
- MAC: .
- 7.
- Output .
Construction 3
(Mode A Decryption). :
- 1.
- Verify MAC τ; reject (⊥) if invalid.
- 2.
- Recompute ; verify ; reject if not.
- 3.
- Derive .
- 4.
- Recover .
- 5.
- Output .
6.3.1. Confidentiality Argument
The adversary sees , where is pseudorandom and unknown. The message is uniformly masked by the one-time-pad-like torus shift. The Lagrangian authenticator cannot be verified without the key (by LIP hardness, Section 7).
6.3.2. Geometric Character
Mode A preserves the Lagrangian structure in the ciphertext: the pair is still a point on . This makes it the mode most closely connected to the geometric foundations of the scheme.
6.4. Mode C: Lagrangian Keystream
Mode C reduces security entirely to the HPF assumption: the generating function gradient is the encryption primitive.
Construction 4
(Mode C Encryption). :
- 1.
- Sample nonce .
- 2.
- Derive evaluation point: .
- 3.
- Evaluate the HPF: .
- 4.
- Derive keystream: .
- 5.
- Encrypt: .
- 6.
- MAC: .
- 7.
- Output .
Construction 5
(Mode C Decryption). :
- 1.
- Verify MAC; reject if invalid.
- 2.
- Derive , evaluate , derive keystream κ.
- 3.
- Output .
6.4.1. Why Mode C Is the Cleanest Construction
The ciphertext contains no Lagrangian coordinates, only a nonce, a masked message, and a MAC tag. Security reduces to a single question: can the adversary compute without k? This is precisely Assumption 1, whose plausibility reduces (via Theorem 10) to the hardness of parameter recovery, Assumption 4. Mode C also produces the smallest ciphertexts (36–48 bytes depending on security level).
6.4.2. The Role of the KDF
The HPF output is not used directly as a keystream. Because is smooth (), nearby evaluation points produce correlated outputs. This is a property that a true PRF would not exhibit. The KDF step destroys this correlation, converting the smooth HPF output into a bitwise-independent keystream. This is not an optional enhancement but a necessary architectural component: the HPF provides the Lagrangian hardness; the KDF provides the bit-level uniformity.
6.5. Mode AC: Hybrid
Mode AC combines both layers for defence in depth.
Construction 6
(Mode AC Encryption). :
- 1.
- Sample nonce .
- 2.
- Derive basepoint: , evaluation point .
- 3.
- Encode message: , shift: .
- 4.
- Lagrangian authenticator: .
- 5.
- Evaluate HPF: , keystream: .
- 6.
- Mask: .
- 7.
- MAC: .
- 8.
- Output .
Decryption inverts the masking, then proceeds as in Mode A. Breaking Mode AC requires defeating both the coordinate shift and the keystream simultaneously.
6.6. Decryption Correctness
Theorem 7
(Decryption correctness). For all modes and all : .
Proof.
In Mode A, the nonce determines identically for encryptor and decryptor. Since , the decryptor recovers exactly. The authenticator is a deterministic function of the shared key and , so the consistency check passes with zero error. In Mode C, the evaluation point and HPF output are deterministic functions of k and , so the keystream is identical on both sides. In Mode AC, both the shift and the keystream are deterministic, so the composition is exact. All modes use the fixed-point arithmetic core (Section 10) to ensure cross-platform agreement. □
6.7. Security Proofs
We use two facts about HKDF [12]. First, HKDF-Extract is a computational randomness extractor: applied to a source of min-entropy at least , it produces output within statistical distance of uniform. Second, HKDF-Expand behaves as a secure PRF on its (now near-uniform) input. For the keystream step, we therefore require that the HPF output supplied to carry sufficient min-entropy; this is exactly Assumption 2. Where convenient, we additionally idealise HKDF-Expand as a random oracle (ROM) [26], which is a standard simplification, but we keep the extractor step explicit because it is where the min-entropy assumption is consumed.
Theorem 8
(IND-CPA security of Mode C). In the random-oracle model for HKDF-Expand, under Assumptions 1 (unpredictability) and 2 (output min-entropy), for any PPT adversary :
where is the extractor error of HKDF-Extract on a source of min-entropy λ.
Proof.
By a game-hopping argument.
Game : The real IND-CPA game. Adversary chooses ; the challenger encrypts for random b.
Game : Abort if ever queries the HKDF-Expand oracle on the exact challenge value , where is the quantised HPF output on the challenge nonce. Because is derived from the fresh challenge nonce and is unpredictable on a fresh point (Assumption 1), any adversary that queries yields a predictor for on a fresh point. Hence, . (This step uses unpredictability only; it makes no claim about the entropy of ).
Game : Replace the extracted key with a uniformly random key. By Assumption 2, has conditional min-entropy given the adversary’s view, so HKDF-Extract’s output is within statistical distance of uniform: . (This step uses min-entropy only).
Game : With a uniform extracted key and, by , no adversarial query on the challenge point, HKDF-Expand outputs a uniformly random independent of b. Hence, is uniform and independent of b, so .
Combining: . □
Theorem 9
(IND-CCA2 security). All three modes achieve IND-CCA2 security via the encrypt-then-MAC composition [27], assuming that the MAC is EUF-CMA-secure and the underlying mode is IND-CPA-secure.
Proof.
Standard reduction. Any CCA2 adversary must either forge a valid MAC (contradicting EUF-CMA security of HMAC-SHA256) or distinguish valid ciphertexts from random without submitting new valid ciphertexts to the decryption oracle (reducing to IND-CPA). □
Proposition 1
(Multi-message security). For ciphertexts encrypted under the same key with distinct nonces:
Proof.
Hybrid argument over t ciphertexts. The term accounts for the birthday probability of nonce collision. □
7. Hardness Foundations
7.1. The Lagrangian Identification Problem
Definition 4
(LIP). Given the reference Lagrangian , a set of evaluations for , and the guarantee that for some , find the key k (or equivalently, identify ).
Assumption 3
(LIP hardness). For any PPT adversary :
7.2. The Hamiltonian Inversion Problem
Definition 5
(HIP). Given oracle access to , recover the parameters .
Theorem 10
(LIP and HIP are equivalent). LIP and HIP are polynomial-time equivalent under non-negligible advantage. Concretely:
- (a)
- (LIP ⇒ HIP) A PPT algorithm solving LIP yields a PPT algorithm solving HIP.
- (b)
- (HIP ⇒ LIP) A PPT algorithm solving HIP yields a PPT algorithm solving LIP.
Proof.
(a) Given oracle access to , the reducer selects random , queries to obtain points , runs the LIP solver to obtain , then peels off the r kicks from sequentially. Each Chirikov kick is determined by from two generic input–output pairs via , which is solvable for K and . Iterating through the r kicks recovers all parameters; the advantage is preserved.
(b) Given the evaluation set , the reducer simulates HIP’s oracle: each query is answered as using the available evaluations (or fresh ones drawn from the same distribution), runs the HIP solver to obtain , and outputs . Since is determined by the parameters, whenever the recovered parameters are correct. The advantage is preserved. □
Remark 6
(Which direction the security rests on). For using LIP as a hardness assumption, the relevant implication is part (b): if recovering the kick parameters (HIP) is hard, then identifying the secret Lagrangian (LIP) is hard, and hence Assumption 1 holds. Part (a) is the converse and shows that the two formulations are interchangeable, so we may analyse hardness in whichever language is more convenient. We work with HIP (parameter recovery) for the remainder of this section, as it is the more concrete object. We stress that Theorem 10 is an equivalence between two new problems, not a reduction to an established one; the latter remains open (Section 14.6).
7.3. Evidence for HIP Hardness
We do not prove that HIP is hard. We state it as an explicit assumption and then give the evidence that supports it. This mirrors the early history of lattice cryptography, where the hardness of the core problem was assumed and supported by failed-attack evidence well before worst-case reductions were known.
Assumption 4
(Exact HIP hardness). Fix the precision b of Section 10 and the parameter sets of Section 12. No PPT adversary, given exact b-bit fixed-point evaluation pairs of the composed r-kick map, recovers the parameters with non-negligible probability.
The remainder of this section gives three independent lines of evidence for Assumption 4: a precision/sample-complexity obstruction (Proposition 2), the empirical failure of concrete attacks (Section 8), and the suggestive topological structure (Section 7.4). We are explicit about what each does and does not establish.
Proposition 2
(Precision obstruction for bounded-precision adversaries). For kicks, any algorithm that recovers the Hamiltonian parameters to precision δ from input–output pairs of the composed map must, in the worst case over key parameters, distinguish trajectories agreeing to precision on at least one of the intermediate kicks. This requires either (a) bits of precision per evaluation, or (b) exponentially many evaluation pairs to average out the noise.
Proof.
The Lyapunov exponent implies that two Hamiltonians differing by in a single produce diffeomorphisms diverging by in the norm. Recovering the perturbed parameter requires distinguishing points on these two trajectories, which collapses to either a precision requirement or a sample-complexity requirement as stated. □
Remark 7
(What Proposition 2 does and does not show). Proposition 2 is an information-theoretic obstruction to reconstruction from bounded-precision or noisy observations: an adversary working to precision δ faces an effective amplification , so unless it expends bits of working precision (at the 128-bit parameter set) or exponentially many samples, parameter recovery fails. It is not a computational hardness proof for an adversary holding the exact b-bit outputs, who operates in a discrete setting where the continuous Lyapunov bound does not directly apply.
The role of Proposition 2 in supporting Assumption 4 is therefore as follows. The only known generic routes to parameter recovery—iterative trajectory fitting and statistical averaging—are precisely the precision-bounded and sample-bounded strategies that the proposition rules out. The exact-arithmetic adversary avoids the continuous obstruction only by exploiting the algebraic or combinatorial structure of the fixed-point map directly; the cryptanalysis of Section 8 tests the nature of such attacks and finds that they fail (gradient fitting diverges; single-kick algebraic structure is destroyed by composition). Assumption 4 is the conjecture that no efficient structural attack exists. Closing the gap, a worst-case-to-average-case reduction for HIP/LIP analogous to Regev’s for LWE is the central open problem of the classical security argument (Section 14.6).
7.4. Topological Suggestiveness
We provide three lines of heuristic evidence for Assumption 4 drawn from symplectic topology. These are motivation and intuition, not security evidence in the technical sense: none constitute a hardness lower bound, and none are relied upon by the security proofs of Section 6. We include them because they indicate why the problem might be structurally hard, and we label them explicitly as such so that they are not mistaken for the load-bearing evidence (which is Proposition 2 together with the empirical cryptanalysis of Section 8).
- (i)
- Arnold-conjecture intersection lower bound.
The Arnold conjecture [28], proved via Floer homology [29,30], states that . For , , so any two Lagrangians intersect in points. Polynomially many observations are consistent with exponentially many Lagrangians in terms of intersection structure. This does not directly bound parameter-recovery hardness, but it indicates that Lagrangian identity carries exponential combinatorial richness.
- (ii)
- Floer homology and global non-locality.
Computing the Floer differential requires solving a nonlinear elliptic PDE on the entire manifold [29]. No polynomial number of local measurements can substitute for this global computation. This is suggestive rather than constraining: an adversary need not compute Floer homology to recover parameters, but the global character of the geometric data is consistent with the resistance of the LIP to local-only attacks.
- (iii)
- Symplectic mapping class group.
The conjugacy problem in the symplectic mapping class group is open for surfaces of genus , and is conjectured to be at least as hard as in the analogous mapping class group of surfaces; the LIP is related to orbit identification in this group. We refer to Salamon–Seidel–Smith [31] for context on the symplectic mapping class group.
7.5. Exponential Separation in the Lagrangian Grassmannian
After r kicks, two Lagrangians whose generating Hamiltonians differ in a single bit of are separated by in the natural Grassmannian distance, by Proposition 2. This is the geometric restatement of the precision obstruction: candidate Lagrangians that an exact-precision adversary must distinguish are exponentially far apart, yet a bounded-precision adversary cannot resolve them. As with Proposition 2, this supports Assumption 4 against precision- and sample-bounded strategies; it does not by itself rule out a structural attack on the exact fixed-point map.
8. Cryptanalysis: Self-Attacks
We regard cryptanalytic self-validation as essential for any new hardness assumption. We introduce two attack strategies and report, at sub-cryptographic and moderate scale, that neither makes progress toward key recovery; we also report statistical quality metrics for the HPF output. We are explicit that this is preliminary evidence, not a security proof: ruling out a weak baseline at small scale does not rule out stronger attacks at cryptographic scale. A wider battery, such as gradient-free optimisers, lattice-style attacks on the fixed-point output, meet-in-the-middle on the kick sequence, and attacks exploiting the deterministic sine lookup table (Section 10), is identified as future work in Section 14.6, and any of these could reduce the effective security of specific parameter choices.
8.1. Gradient-Fitting Attack
The most natural classical attack against the HPF.
8.1.1. Attack Model
The adversary observes t evaluation pairs , where . The generating function is determined by real parameters. The adversary minimises
via gradient descent with finite-difference gradients.
8.1.2. Why It Fails
The sensitivity matrix involves the accumulated Jacobian of r Chirikov maps. After r kicks, its condition number is . For and bits/kick, . The gradient is dominated by exponentially amplified numerical noise, rendering gradient descent useless. This is not merely a practical obstacle but a structural consequence of the Lyapunov dynamics: the loss landscape becomes more ill-conditioned with every additional kick.
8.1.3. Empirical Results at Sub-Cryptographic Scale
At parameters , (far below cryptographic scale), samples, 300 optimisation iterations: the loss increased by (from 244 to 856); parameter errors remained enormous (, radians); zero successful key recoveries across all trials.
8.1.4. Empirical Results at Moderate Scale
At parameters , , with 30 observed ciphertext pairs and 200 gradient descent iterations, the loss function increased from 3883 to 4123. The optimiser moved away from the solution. This is a direct consequence of the Lyapunov exponent: the gradient for an early kick involves a chain of Jacobians, each with spectral radius , causing gradient magnitudes of order .
8.1.5. Limitations of the Present Analysis
We tested vanilla gradient descent, which is a weak baseline against an ill-conditioned landscape. A stronger cryptanalytic effort should test (a) gradient-free optimisers (CMA-ES [32], differential evolution); (b) algebraic linearisation of the first kick (where the single-kick structure is recoverable from a small sample); (c) lattice attacks on the fixed-point quantisation; (d) meet-in-the-middle on the kick sequence; (e) attacks exploiting the structure of the deterministic sine lookup table, whose entries and piecewise-linear interpolation make each kick a piecewise-algebraic map that an adversary could attempt to model exactly. We list these as open cryptanalytic problems in Section 14.6, with the expectation that any of them might reduce the effective security of specific parameter choices.
At cryptographic parameters (), the landscape is exponentially more ill-conditioned, and the structural barrier is independent of optimiser choice, but a careful demonstration of this against (a)–(d) above is needed.
8.2. Algebraic Structure Attack
The Chirikov map has known algebraic structure (Equation (3)). We test whether an adversary can decompose the composed output.
8.2.1. Single-Kick Fit
Model . At , the relative residual exceeds , confirming that composition destroys the single-kick structure.
8.2.2. Multi-Frequency Fit
Expand in Fourier harmonics. The residual error remains 35–, indicating that the composed map has a broadband Fourier spectrum that is not compactly representable.
8.3. Statistical Quality and Min-Entropy of the HPF Output
We report two distinct kinds of measurement on the quantised output , and we are careful to keep them separate because they support different claims.
8.3.1. Uniformity Sanity Checks
The following confirm that the output is not grossly degenerate (e.g., stuck on a low-dimensional set or strongly biased). They are necessary but not sufficient for cryptographic quality, and in particular they do not establish a min-entropy lower bound:
- Bit balance: (ideal: ).
- Autocorrelation: <0.16 across all dimensions.
- Kolmogorov–Smirnov test: passes uniformity at in all dimensions.
- Byte-level uniformity: with (within acceptance).
- Avalanche: bit-flip rate under 1-ULP perturbation, as expected for a continuous () function.
A distribution can pass all of these while still having low min-entropy (for instance, if a small set of outputs carries disproportionate mass that the aggregate statistics average away). We therefore treat these results only as evidence that the output is well-spread, not as evidence for Assumption 2.
8.3.2. Min-Entropy Estimation: Methodology
To provide direct evidence for Assumption 2, we estimate the conditional min-entropy of the quantised output using the NIST SP 800-90B entropy-source estimators [33], which target rather than Shannon entropy. We draw N samples over fresh keys and fresh nonces: for each sample, we sample a fresh key with and a fresh nonce , derive the evaluation point , evaluate , and decompose into its nb output bits. We assess each output bit-position across the N samples and report the minimum estimate across the SP 800-90B battery (most-common-value, collision, Markov, and compression estimators), as the standard mandates taking the most conservative estimate.
Two methodological points bear on how the numbers below should be read. First, the assessed minimum is in every case driven by the most-common-value and Markov estimators; the collision and compression estimators returned looser (higher) values throughout and therefore never bind. We validated the most-common-value and Markov estimators against reference Bernoulli sources of known min-entropy (, true ) and found agreement to within . Second, a per-coordinate symbol estimate is uninformative at the parameters here: each coordinate is a -bit symbol drawn from a alphabet, so at every observed coordinate value is almost surely unique and the symbol most-common-value estimate degenerates to a function of N rather than of the source. We therefore base the assessment on the per-bit estimators, whose statistics are well-resolved at our sample sizes.
8.3.3. Min-Entropy Estimation: Results
Across the recommended parameter sets, we measure a per-bit min-entropy of bits, essentially flat across all output bit-positions (Figure 1): the per-bit values lie in with standard deviation , and there is no systematic variation between the most- and least-significant bits of a coordinate, nor between coordinates. We further find no detectable correlation that would invalidate aggregating the per-bit figures: all pairwise inter-coordinate and intra-coordinate bit correlations satisfy (sampling noise at our N). This is a direct consequence of the evaluation model. The smoothness of correlates outputs at nearby evaluation points (Remark 5), but each min-entropy sample uses a fresh nonce and hence an independent ; the smoothness correlation is a within-trajectory property and does not manifest across freshly nonced evaluations. Assumption 2 is stated for exactly such a single freshly nonced evaluation, so the per-bit-independence used in the aggregate is empirically justified in this regime.
Figure 1.
Per-bit min-entropy of the quantised HPF output for the corrected 256-bit parameter set (, , fresh-key/fresh-nonce samples). (a) Per-bit NIST SP 800-90B assessed min-entropy across all output bits; dotted lines mark the six coordinate boundaries. The profile is flat at bits/bit with no most-/least-significant-bit trend and no per-coordinate structure. (b) Histogram of the 288 per-bit values (standard deviation ).
The aggregate min-entropy of the nb-bit output is therefore nb. Table 2 reports the aggregate for each set, together with the conservative worst-bit nb bound. The estimate is stable across the kick count: is indistinguishable for at fixed nb, which is expected, since beyond the onset of strong chaos, additional kicks harden key recovery (they increase the chaotic separation of Table 1) but do not change the distribution of the output at a fresh point.
Table 2.
Measured aggregate min-entropy of the quantised HPF output versus the security target . The per-bit efficiency is ≈ in all cases, so the achievable aggregate is ≈nb. The original sets of Table 1 satisfy nb and therefore fail the requirement at ; the corrected sets increase the coordinate count n to restore the bound with margin. All estimates are the conservative minimum over the SP 800-90B battery (driven by the most-common-value and Markov estimators).
8.3.4. Consequence for the Parameter Sets
This measurement has a direct design consequence that we flag explicitly, as it corrects the parameter table of an earlier draft. The aggregate clears with a comfortable 57-bit margin, but, with the original choice (hence nb ), it falls below for both the 192-bit and 256-bit sets (): the achievable per-bit entropy of caps a 192-bit output at bits irrespective of the kick count. The necessary condition nb of Remark 4 is therefore not sufficient; one requires nb plus a safety margin. We accordingly increase the manifold dimension for the higher-security sets to (nb ) at and (nb ) at , which restores aggregate with 40-bit and 22-bit margins, respectively (Table 2). Increasing n is the preferred lever: raising the precision b is an alternative but is constrained by the -bit accuracy of the fixed-point sine table (Section 10), whereas adding coordinates is unconstrained. Crucially, n is a free dimension that does not enter the hardness argument: the chaotic separation governing key recovery is set entirely by r (Section 7), so the correction costs only a few bytes of ciphertext and an constant factor in evaluation cost, with no effect on security.
8.3.5. Interpretation
The low avalanche and the residual byte non-uniformity of the raw output confirm the framing of Section 1.2: the HPF is a seed generator, not a direct keystream. HKDF-Extract converts the smooth, high-entropy-but-non-uniform HPF output into a uniform key (this is precisely the extractor step of Theorem 8), and HKDF-Expand stretches it to the keystream length. The HPF supplies hardness and min-entropy; HKDF supplies bit-level uniformity. The empirical estimates above support Assumption 2 at the corrected parameters, but we emphasise that they remain estimates: a formal min-entropy lower bound remains open, and we flag it in Section 14.6, ideally as a function of r, b, and the Lyapunov exponent.
9. Quantum Hardness
The quantum-security argument in earlier drafts of this work appealed to dynamical localisation [20]: at sufficiently large ℏ, the Floquet operator has exponentially localised eigenstates, and quantum diffusion in momentum space halts. We retire this argument here. Numerical simulation and the regime constraint together show that, at the parameters where the HPRF wants to operate (, ), the Floquet operator is in the delocalised quantum-chaotic regime, with Wigner–Dyson rather than Poissonian level statistics. Localisation simply does not happen at cryptographic parameters.
We take the view that this is not a setback but a clarification. The regime in which actually operates is precisely the regime of quantum chaos, and this is a stronger foundation for quantum hardness than localisation would have provided. We frame quantum HPRF security as a reduction to the conjecture that is a pseudorandom unitary (PRU) in the sense of Ji–Liu–Song [13], supported by three independent pillars of evidence drawn from the quantum chaos literature.
9.1. Pseudorandom Unitaries: The Right Framing
A pseudorandom unitary ensemble on an N-dimensional Hilbert space is one for which no efficient quantum algorithm with oracle access to (and ) can distinguish a uniformly drawn from a Haar-random unitary with non-negligible advantage. PRUs are the quantum analogue of pseudorandom functions, and recent constructions have placed them on increasingly firm theoretical footing [13,34,35].
Conjecture 11
(Floquet PRU). For and kicks, the composed kicked-rotor Floquet operator defines a pseudorandom unitary ensemble over the random key . Specifically, for any quantum polynomial-time algorithm with oracle access,
Theorem 11 is the quantum analogue of Assumption 1. We provide three independent pillars of evidence for it.
9.2. Pillar 1: Spectral Statistics (Wigner–Dyson)
A Haar-random unitary drawn from the circular unitary ensemble (CUE) has eigenvalue spacings governed by the Wigner–Dyson distribution, with characteristic level repulsion as [36,37]. A non-pseudorandom unitary such as a Clifford, a low-depth circuit, or a separable structured operator, would exhibit different spectral statistics, typically Poissonian (no repulsion) or with a degenerate spectrum.
Numerical simulation of the full composed, keyed operator (not a single kick) at and Hilbert-space dimension confirms Wigner–Dyson statistics with high fidelity: the nearest-neighbour spacing distribution matches the CUE prediction to within statistical error. This is the defining empirical signature of pseudorandomness, and provides necessary evidence for Theorem 11.
Remark 8
(Scope of the numerical evidence). Two gaps separate this evidence from the cryptographic claim, and we state both explicitly. First, the simulated dimensions are far below the cryptographic regime ; spectral statistics could in principle drift at large N, although Wigner–Dyson behaviour in quantum-chaotic systems is generally observed to stabilise rather than degrade with dimension. Second, we have verified the composed operator only up to kicks (Section 14.6); the recommended are not yet directly simulated. Consequently, Pillar 1 is evidence for, not a verification of, Theorem 11 at cryptographic parameters. We treat the large-N, large-r verification as an explicit open problem (Section 14.6) and, in Section 9.7, name the spectral deviation that would falsify the conjecture.
We emphasise that the dynamical-localisation argument of earlier drafts predicted Poissonian statistics. The fact that we observe Wigner–Dyson is what tells us that localisation does not apply at cryptographic parameters; it is also what tells us that PRU-style pseudorandomness does.
9.3. Pillar 2: Fast Scrambling (Lyapunov OTOC Growth)
The out-of-time-ordered correlator (OTOC) for observables is
For chaotic quantum systems, grows exponentially at the Lyapunov rate until the scrambling time , at which point has effectively spread initial information across the entire Hilbert space [38,39]. Exponential OTOC growth at the classical Lyapunov rate is the quantum signature of fast scrambling, and fast scramblers are conjectured to be approximate-design candidates.
For the kicked rotor at , we have nats per kick. Substituting the cryptographic values and into the analytic estimate gives kicks, comfortably less than r. This is a theoretical estimate from the scrambling-time formula rather than a direct simulation at ; subject to that caveat, it indicates that, by kick number r, has fully scrambled in the OTOC sense, with margin to spare.
9.4. Pillar 3: Approximate Design Conjecture
The strongest form of evidence would be a proof that is an -approximate unitary k-design [40,41,42] for and . A k-design is an ensemble whose first k moments match those of Haar; design-hood implies that no k-query quantum distinguisher can separate the ensemble from Haar with a non-negligible advantage.
The Brandão–Harrow–Horodecki [41] and Haferkamp [42] results establish design-hood for random quantum circuits at polynomial depth. The kicked rotor is a deterministic chaotic Floquet system parametrised by . Onorati et al. [43] extend design results to certain stochastic Hamiltonian dynamics, and the structural analogy between random circuits and chaotic Floquet systems, which both achieve k-design behaviour through scrambling, is supported by extensive physics literature on quantum chaos and eigenstate thermalisation [44].
Conjecture 12
(Floquet design). For and , the ensemble over random key parameters forms an ε-approximate unitary k-design with .
Theorem 12 is the strong form of Theorem 11: design-hood for implies PRU-ness against -query quantum adversaries. We do not prove Theorem 12; we identify it as the central open problem of quantum HPRF security. Pillars 1 and 2 provide necessary evidence for it; a proof would require extending Haferkamp-style techniques to deterministic Hamiltonian flows.
9.5. Reduction: HPRF Quantum Security to Floquet PRU
The HPRF adversary does not have direct quantum oracle access to . They have classical evaluation access to , which is a derived classical observable. The reduction from the PRU-ness of to HPF security must make this bridge explicit.
Theorem 13
(Quantum HPF security from Floquet PRU). If Theorem 11 holds, then, for any quantum polynomial-time adversary making at most classical queries to ,
Proof sketch.
Each classical evaluation can be simulated by preparing , applying , and measuring the momentum register. A single quantum query is applied to . A classical-query adversary against thus yields a t-query quantum distinguisher against versus Haar: replace each evaluation oracle with a Haar oracle and observe whether still predicts correctly. Under Haar, the prediction is information-theoretically impossible (the momentum on a fresh point is uniform); under , succeeds with non-negligible probability by hypothesis. The gap is the PRU advantage, multiplied by t via a hybrid argument. □
9.6. Comparison with the Localisation Argument
The dynamical-localisation argument of Fishman–Grempel–Prange [20] provides quantum hardness via Anderson-type interference, with localisation length and required regime . As noted, this regime is incompatible with cryptographic parameters; Proposition 3 below states this formally.
Proposition 3
(Localisation fails at cryptographic parameters). For and , the Hilbert-space dimension is much less than the localisation length , and the Floquet operator is in the delocalised regime with Wigner–Dyson level statistics. The strict Anderson-type quantum query lower bound of earlier drafts therefore does not apply.
The PRU framing avoids this issue entirely: it does not require any specific spectral regime beyond the Wigner–Dyson regime that the operator actually inhabits. In this sense, the chaotic-pseudorandomness argument is structurally cleaner than the localisation argument: it argues from positive evidence (observed quantum-chaotic behaviour) rather than from a specific interference effect that fails to materialise at the parameters of interest.
Remark 9
(Comparison with Grover). Grover search over the parameter space requires queries. For , this is astronomically large. The PRU barrier provides an additional structural defence independent of search-space size: even an adversary with subexponential resources cannot extract information from the Floquet operator’s structure, because that structure is conjecturally indistinguishable from Haar.
9.7. What Would Falsify the Quantum-Hardness Argument?
We name the failure modes explicitly. Theorem 11 would be falsified by the following:
- (a)
- A quantum algorithm distinguishing from Haar with queries.
- (b)
- A demonstration that the kicked rotor’s -parametrisation has “algebraic structure” (e.g., a non-trivial commutant or factorisation) that defeats design-hood.
- (c)
- Numerical evidence that spectral statistics deviate substantially from Wigner–Dyson at large r (we have ruled this out at but not at ).
We commit to addressing (c) numerically in subsequent work; (a) and (b) are open problems for the quantum-cryptography community.
10. Fixed-Point Arithmetic Core
10.1. The Determinism Problem
Both the encryptor and decryptor must evaluate and obtain identical results. IEEE 754 floating-point is not deterministic across platforms: hardware differences (x87/SSE/ARM), compiler optimisations, and library implementations produce subtly different intermediate results. For a chaotic map with Lyapunov exponent , even a 1-ULP difference amplifies to output divergence after r kicks. This is not a minor engineering concern but a fundamental correctness requirement: the same chaotic dynamics that provide security will destroy decryption if the encryptor and decryptor disagree by a single bit in any intermediate computation.
10.2. Integer-Only Computation
Definition 6
(Fixed-point representation). A real number x is stored as the integer for precision parameter . The torus maps to , where . All operations are modular integer arithmetic.
The sine function is evaluated via a precomputed lookup table of entries covering , extended by quadrant symmetry, with integer-only linear interpolation. At , this achieves bits of sine accuracy per evaluation.
The Chirikov map in fixed-point is
where is fixed-point multiplication.
Proposition 4
(Bit-exact self-consistency). Two implementations using the same lookup table and precision parameter b produce identical outputs for all inputs, on any platform supporting two’s-complement integer arithmetic.
Proof.
All operations—integer addition, multiplication, bit shift, and modular reduction—are deterministic under two’s-complement representation, which is mandated by C++20 and C23. □
Empirical Validation
We validated bit-exact self-consistency across 200 test trajectories. The divergence between fixed-point and IEEE 754 double after kicks is ∼10 bits, which is the expected Lyapunov amplification of the arithmetic difference between two distinct computational models.
10.3. Specification Completeness for Interoperable Implementation
Because correctness depends on bit-exact agreement between the encryptor and decryptor, the following conventions are part of the cryptographic specification, not implementation-defined choices. Two conforming implementations must agree on all of them; any disagreement causes decryption failure with overwhelming probability, by the Lyapunov amplification of Section 10.
- Rounding.
- All real-to-fixed conversions use round-half-to-even (banker’s rounding) on ; the multiplication truncates toward via arithmetic right shift . No other rounding mode is permitted.
- Endianness and serialisation.
- All fixed-point integers are serialised as b-bit (here 48-bit) two’s-complement values in big-endian byte order, zero-padded to bytes, before being passed to any hash or KDF input.
- Byte-to-torus map .
- The message-to-coordinate encoding partitions m into n blocks of bits; block maps to . The inverse rounds to the nearest integer.
- LUT construction.
- The sine table holds entries for , covering ; the four quadrants are obtained by the standard sign/reflection symmetries. Interpolation between table entries is integer-only linear interpolation on the 48-bit fixed-point grid. The table is a fixed public constant; both parties must use bit-identical entries.
- HKDF salt and labels.
- HKDF-Extract uses a fixed all-zero salt of HashLen bytes (per RFC 5869 when no salt is provided). Domain-separation labels (“basepoint”, “eval”, “stream”) are encoded as ASCII without a terminating null and concatenated with the nonce as specified in Section 6.
- Test vectors.
- A conforming set of test vectors (fixed keys, nonces, intermediate values, and full ciphertexts for each mode at ) is provided with the reference implementation as Supplementary Material File S1, and is the normative interoperability target.
We regard the above as a necessary part of any cryptographic specification that depends on chaotic, precision-sensitive arithmetic, and we flag a complete formal specification (with a machine-checkable test-vector suite) as engineering work to accompany a production implementation (Section 14.6).
11. Empirical Results
A reference implementation in Python validates the scheme across all modes and parameter scales. The implementation is available as Supplementary Material File S1.
11.1. Round-Trip Correctness
All three encryption modes (A, C, AC) achieve decryption correctness across both parameter scales ( and ) and all test messages (boundary values 0x00…, 0xff…, and random messages).
11.2. Tamper Detection
All modes correctly reject ciphertexts with: modified (Lagrangian authenticator perturbation); modified MAC tag; modified ; modified (coordinate perturbation).
11.3. Confidentiality Validation
- Mode A: does not reveal the message; standard deviation matches the prediction.
- Mode C: ciphertext byte distribution passes the uniformity test (, , ).
11.4. Performance
Table 3 reports per-operation timings and ciphertext sizes for the three modes.
Table 3.
Encryption mode performance (pure Python, single-threaded). Proof-of-concept only; see text.
Mode C is the most efficient: smallest ciphertext (36–40 B), fastest operation (<0.4 ms at ), single HPF evaluation per encrypt/decrypt. Mode AC requires two HPF evaluations and is correspondingly slower.
Proof-of-Concept Framing
The numbers in Table 3 are from a pure-Python, single-threaded prototype and should be read as a proof-of-concept demonstration of correctness and relative mode cost, not as evidence of practical competitiveness. A meaningful performance comparison requires an optimised implementation measured against software baselines on the same hardware: software AES (without AES-NI), ChaCha20 [11], and an optimised C/Rust HPRF with vectorised Chirikov iteration. As a reference point, hardware-accelerated AES-NI reaches GB/s, several orders of magnitude beyond a Python prototype; we cite this only to forestall any impression of competitiveness at this stage. We make no throughput claim until an optimised implementation and a like-for-like software comparison are available, which we identify as future engineering work (Section 14.6).
12. Parameter Analysis
Table 1 gives recommended parameter sets at the three target security levels.
The kick count satisfies , and the chaotic separation at all levels substantially exceeds the target. The coordinate count n is set so that the measured aggregate min-entropy (Section 8.3, Table 2) clears with margin: at (, ), at (≈, ), and at (≈, ). The increase to and is necessary because, at , the 192-bit output caps the aggregate at ≈185.7 bits, below the 192- and 256-bit targets, irrespective of the kick count. The key size is determined by the kick count r (the secret is r parameter pairs) and is therefore unaffected by the increase in n; the Mode C ciphertext is determined by the message length and likewise unchanged.
Comparison
Mode C ciphertexts are dramatically smaller than Kyber-768 (1088 B) and Classic McEliece. Key sizes (1.5–3 KB) are larger than AES-256 (32 B) but comparable to many post-quantum key sizes. The fair comparison for the HPRF as a symmetric primitive is with other symmetric PRFs (AES-CTR, ChaCha20); the HPRF’s key is ∼ larger but its computational cost per evaluation is similar in asymptotic complexity (though concretely slower in our pure-Python prototype).
13. Related Work
13.1. Post-Quantum Cryptography
Kyber/ML-KEM [6], NTRU [45], SPHINCS+ [8], Classic McEliece [9]: all replace algebraic hardness with new algebraic assumptions. The HPRF differs in grounding security in geometric topology and quantum chaos rather than algebra.
13.2. Chaos-Based Cryptography
The chaos-based literature [46] uses chaotic maps as pseudorandom generators, but typically without formal security reductions or quantum-hardness analysis. The kicked rotor has been proposed as a randomness source [19] but not formalised as a cryptographic primitive with provable properties. The key distinction of the HPRF is the topological character of the hardness (LIP) and the quantum-chaos foundation (PRU framing of Section 9).
13.3. Quantum Pseudorandomness
The PRU framing of Section 9 draws on the rapidly developing literature on pseudorandom unitaries [13,34,35], approximate unitary designs [40,41,42], and the eigenstate thermalisation hypothesis [44]. To our knowledge, this is the first cryptographic construction whose quantum-security argument is explicitly grounded in the PRU framework with a concrete physical model (the kicked rotor) as the candidate PRU family.
13.4. Topological and Group-Theoretic Cryptography
Braid group cryptography [47] and topological quantum codes [48] exploit non-commutative or topological structure. The HPRF shares the principle that security derives from global topological invariants.
13.5. Symplectic Methods
Symplectic transformations appear in lattice reduction [49] and multivariate cryptosystems [50], but Lagrangian submanifolds as a primary cryptographic object are, to our knowledge, novel.
14. Discussion
14.1. What Is Genuinely Novel
- (i)
- A new function family from a mathematical domain (symplectic geometry/Hamiltonian dynamics) entirely absent from existing cryptography. Every current PRF is built from algebraic operations; the HPF is built from nonlinear flows on curved manifolds.
- (ii)
- A qualitatively different classical hardness argument from chaotic ill-conditioning of parameter recovery, plausibly resistant to algebraic attacks, including Shor-type quantum algorithms.
- (iii)
- A quantum-security argument grounded in pseudorandom unitaries and quantum chaos. The PRU framing of Section 9 is, to our knowledge, the first attempt to use the Ji–Liu–Song framework as the foundation of a concrete cryptographic scheme, with the kicked-rotor Floquet operator as the candidate PRU family.
- (iv)
- A bridge between mathematical physics and cryptography: decades of kicked-rotor research, including the rich literature on quantum chaos, scrambling, OTOCs, and spectral statistics, become directly relevant to cryptographic hardness.
14.2. The Geometric Interpretation
The Lagrangian balance (Green’s theorem on the symplectic form) means that the momentum is not independent data but is determined by the topology of above . In Mode A, this structure appears explicitly in the ciphertext. In Mode C, it is internalised within the HPF evaluation. In both cases, the geometric constraint connects computational hardness to topological invariants of the secret Lagrangian.
14.3. The Role of Standard Cryptographic Components
The encryption modes rely on standard symmetric machinery (HKDF, HMAC-SHA256, XOR encryption) layered on top of the HPF. The HPF and HKDF do complementary, non-substitutable work. The HPF provides the hardness, i.e., the adversary’s fundamental inability to compute without k, grounded in Lagrangian identification, chaotic dynamics, and (for quantum adversaries) the PRU-ness of the underlying Floquet operator. The KDF and MAC provide the bit-level properties, such as avalanche, uniformity, and integrity, that a smooth () function cannot provide directly. This separation is analogous to how AES provides a PRP and CTR mode/HMAC provide the mode of operation.
14.4. Side-Channel Threat Model and Implementation Requirements
The HPF evaluation performs key-dependent arithmetic, and a naive implementation leaks through at least two channels that we make explicit here. We treat constant-time implementation not as an optional hardening step but as a requirement for any deployment exposed to a co-located or remote-timing adversary.
Lookup-table access (primary concern). The sine evaluation indexes the LUT (Section 10.3) at a position determined by the running trajectory coordinate, which is itself a function of the secret kick parameters. On a standard cache hierarchy, the accessed table line is observable via cache-timing (Prime+Probe, Flush+Reload), so the sequence of LUT indices can leak, and hence so can information about the intermediate trajectory and the key. This is the same class of vulnerability that affected table-based AES implementations. Countermeasures: a constant-time sine (e.g., a branch-free polynomial or CORDIC evaluation rather than a table), or oblivious table access (scan the full table with a constant-time select). The former is preferable at .
Data-dependent branching and timing. The quadrant-symmetry extension of the LUT and any modular-reduction shortcuts must be implemented branch-free, since branch timing is key-correlated. Fixed-point multiply, add, shift, and mask are intrinsically constant-time on standard hardware and are safe.
Out of scope. We do not address power or electromagnetic analysis, fault injection, or microarchitectural channels beyond cache timing; these require the usual hardware- and masking-level countermeasures and are deferred to a production implementation (Section 14.6). The reference implementation (Section 11) is pure Python and makes no constant-time guarantees; it is intended for correctness validation only and must not be used in adversarial settings.
14.5. Limitations
- (i)
- Hardness assumption maturity. LIP, the equivalent HIP (Assumption 4), and the HPF assumption (Assumption 1) are new, without decades of cryptanalytic scrutiny or worst-case/average-case reductions. The min-entropy assumption (Assumption 2) and the quantum conjectures (Theorems 11 and 12) are similarly new.
- (ii)
- Symmetric only. Whether the symplectic structure supports a trapdoor for public-key encryption is an open question.
- (iii)
- Key sizes. ∼50× larger than AES-256, though comparable to some post-quantum schemes.
- (iv)
- Cryptanalytic depth. Our self-attacks (gradient fitting, single-kick algebraic) are preliminary; gradient-free optimisers, lattice attacks on the fixed-point output, meet-in-the-middle attacks, and lookup-table attacks have not yet been tested (Section 8).
- (v)
- Side channels. The key-dependent LUT access and arithmetic require constant-time implementation; we give a threat model and countermeasures in Section 14.4, but the present implementation does not realise them.
- (vi)
- Implementation maturity. The reference implementation is pure Python without constant-time guarantees; a production C/Rust implementation is needed.
- (vii)
- Quantum hardness is conjectural. Theorems 11 and 12 are supported by three pillars of evidence but not proved. We view them as the central open problems of the proposal.
14.6. Open Problems
- (i)
- Formal min-entropy lower bound. Assumption 2 is currently supported by empirical 800-90B estimates (Section 8.3) but not by a proof. Establishing a provable lower bound on the conditional min-entropy of , ideally as a function of the kick count r, the precision b, and the Lyapunov exponent, should be carried out. This would remove an assumption from Theorem 8.
- (ii)
- Tight reduction for HIP/LIP. Assumption 4 is currently a standalone assumption supported by the precision obstruction (Proposition 2) and failed attacks (Section 8). By Theorem 10, it is equivalent to LIP. The central open problem is to connect it to a well-studied hard problem (LWE, graph isomorphism, a problem in the symplectic mapping class group), or to establish a worst-case-to-average-case reduction analogous to Regev’s for LWE—in particular, one that covers the exact fixed-point regime in which the scheme operates, where the continuous precision obstruction does not directly apply.
- (iii)
- Proof of Theorem 12. Extend Brandão–Harrow–Horodecki/Haferkamp design results from random circuits to deterministic chaotic Floquet systems. This is the central open problem of the quantum-security argument.
- (iv)
- Wider cryptanalysis. Test gradient-free optimisers (CMA-ES, differential evolution); algebraic linearisation of single kicks; lattice attacks on the fixed-point output; meet-in-the-middle on the kick sequence; and attacks exploiting the deterministic sine lookup table. We expect any of these to potentially reduce the effective security of specific parameter choices.
- (v)
- Public-key extension. Symplectic trapdoor functions remain an open question.
- (vi)
- QROM formalisation. Upgrade Theorem 13 to the quantum random oracle model, with the HKDF treated as a quantum-accessible random oracle.
- (vii)
- Alternative manifolds. Higher-genus surfaces, flag manifolds, and homogeneous spaces with chaotic geodesic flow are natural extensions.
- (viii)
- Production implementation. Constant-time fixed-point arithmetic in C/Rust, with side-channel countermeasures.
- (ix)
- Numerical verification of Theorem 11 at large r. We have verified Wigner–Dyson statistics and Lyapunov-rate scrambling at ; verification at cryptographic requires substantial computational resources but is in principle tractable.
15. Conclusions
We have introduced the Hamiltonian one-way function , a new symmetric cryptographic primitive whose security is grounded in chaotic dynamics on symplectic manifolds and the hardness of the Lagrangian identification problem. Three encryption modes (A, C, AC) built from the HPF achieve genuine IND-CPA and IND-CCA2 confidentiality using standard symmetric composition. The gradient-fitting attack fails due to exponential ill-conditioning of the loss landscape, and the algebraic structure of the individual Chirikov map is destroyed by composition. A deterministic fixed-point arithmetic core ensures cross-platform bit-exact consistency.
For quantum security, we have replaced the dynamical-localisation argument of earlier drafts with a stronger framing of the conjecture that the kicked-rotor Floquet operator is a pseudorandom unitary, supported by Wigner–Dyson spectral statistics, Lyapunov-rate scrambling, and conjectural approximate-design behaviour. We view this as the right framing for the quantum security of any chaos-based cryptographic primitive: not localisation, not search-space size, but pseudorandomness in the Ji–Liu–Song sense, grounded in the universal scrambling behaviour of quantum-chaotic systems.
The HPRF is structurally nonlinear, topological, and grounded in mathematical domains: symplectic geometry on the classical side, quantum chaos on the quantum side. This makes it qualitatively different from every existing cryptographic construction. Its security rests on new and as-yet-unproven assumptions (Lagrangian/Hamiltonian inversion classically; pseudorandom unitarity quantumly), and we have been explicit throughout about what is proved, what is assumed, and what is conjectural.
We see the most natural applications in defence-in-depth and hedging contexts, where a hardness assumption structurally independent of the algebraic problems underlying RSA, elliptic curves, and lattices is valuable even before the primitive matures, and in further research at the interface of symplectic geometry, Hamiltonian dynamics, quantum chaos, and cryptography. We view this work as opening that design space rather than delivering a deployment-ready alternative to AES or lattice-based schemes.
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/quantum8030062/s1, File S1: Mellor Ahmad HPRF Code 2026.
Author Contributions
Conceptualisation: V.M. Formal analysis: V.M. Investigation: V.M. and F.A. Methodology: V.M. Software: V.M. Writing—original draft: V.M. Writing—review and editing: V.M. and F.A. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
No new data were created or analyzed in this study. Data sharing is not applicable to this article. The reference implementation (Python) is available as Supplementary Material.
Acknowledgments
During the preparation of this manuscript, the author(s) used ChatGPT for the purposes of editing text, checking for grammar and spelling mistakes, and checking mathematical accuracy. The authors used the ChatGPT (OpenAI; GPT-4o, 2025 release) function in Overleaf for the grammar, spelling and editing changes. The authors have reviewed and edited the output and take full responsibility for the content of this publication.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Rivest, R.L.; Shamir, A.; Adleman, L. A method for obtaining digital signatures and public-key cryptosystems. Commun. ACM 1978, 21, 120–126. [Google Scholar] [CrossRef] [Scilit]
- Diffie, W.; Hellman, M.E. New directions in cryptography. IEEE Trans. Inform. Theory 1976, 22, 644–654. [Google Scholar] [CrossRef] [Scilit]
- Koblitz, N. Elliptic curve cryptosystems. Math. Comp. 1987, 48, 203–209. [Google Scholar] [CrossRef]
- Miller, V.S. Use of elliptic curves in cryptography. In CRYPTO 1985; Springer: Berlin/Heidelberg, Germany, 1986; Volume 218, pp. 417–426. [Google Scholar]
- Shor, P.W. Algorithms for quantum computation: Discrete logarithms and factoring. In Proceedings of the 35th Annual Symposium on Foundations of Computer Science, Santa Fe, NM, USA, 20–22 November 1994; pp. 124–134. [Google Scholar]
- National Institute of Standards and Technology. Post-Quantum Cryptography Standardization; National Institute of Standards and Technology: Gaithersburg, MD, USA, 2024.
- Regev, O. On lattices, learning with errors, random linear codes, and cryptography. J. ACM 2009, 56, 34. [Google Scholar] [CrossRef] [Scilit]
- Bernstein, D.J.; Hopwood, D.; Hülsing, A.; Lange, T.; Niederhagen, R.; Papachristodoulou, L.; Schneider, M.; Schwabe, P.; Wilcox-O’Hearn, Z. SPHINCS+: Stateless Hash-Based Signatures; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2019. [Google Scholar]
- McEliece, R.J. A public-key cryptosystem based on algebraic coding theory. DSN Prog. Rep. 1978, 42–44, 114–116. [Google Scholar]
- FIPS 197; Advanced Encryption Standard (AES). National Institute of Standards and Technology: Gaithersburg, MD, USA, 2001.
- Bernstein, D.J. ChaCha, a variant of Salsa20. In Proceedings of the State of the Art of Stream Ciphers) Workshop, Lausanne, Switzerland, 13–14 February 2008. [Google Scholar]
- Krawczyk, H. Cryptographic extraction and key derivation: The HKDF scheme. In CRYPTO 2010; Springer: Berlin/Heidelberg, Germany, 2010; Volume 6223, pp. 631–648. [Google Scholar]
- Ji, Z.; Liu, Y.-K.; Song, F. Pseudorandom quantum states. In CRYPTO 2018; Springer: Berlin/Heidelberg, Germany, 2018; Volume 10993, pp. 126–152. [Google Scholar]
- Grover, L.K. A fast quantum mechanical algorithm for database search. In Proceedings of the 28th Annual ACM Symposium on Theory of Computing (STOC), Philadelphia, PA, USA, 22–24 May 1996; pp. 212–219. [Google Scholar]
- Weinstein, A. Symplectic manifolds and their Lagrangian submanifolds. Adv. Math. 1971, 6, 329–346. [Google Scholar] [CrossRef] [Scilit]
- Robbin, J.W.; Salamon, D.A. The Maslov index for paths. Topology 1993, 32, 827–844. [Google Scholar] [CrossRef] [Scilit]
- Viterbo, C. Symplectic topology as the geometry of generating functions. Math. Ann. 1992, 292, 685–710. [Google Scholar] [CrossRef] [Scilit]
- Arnold, V.I. Mathematical Methods of Classical Mechanics, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 1989. [Google Scholar]
- Casati, G.; Chirikov, B.V.; Izraelev, F.M.; Ford, J. Stochastic behavior of a quantum pendulum under periodic perturbation. In Stochastic Behavior in Classical and Quantum Hamilto-Nian Systems; Springer: Berlin/Heidelberg, Germany, 1979; Volume 93, pp. 334–352. [Google Scholar]
- Fishman, S.; Grempel, D.R.; Prange, R.E. Chaos, quantum recurrences, and Anderson lo-calisation. Phys. Rev. Lett. 1982, 49, 509–512. [Google Scholar] [CrossRef] [Scilit]
- Chirikov, B.V. A universal instability of many-dimensional oscillator systems. Phys. Rep. 1979, 52, 263–379. [Google Scholar] [CrossRef] [Scilit]
- Greene, J.M. A method for determining a stochastic transition. J. Math. Phys. 1979, 20, 1183–1201. [Google Scholar] [CrossRef] [Scilit]
- Meiss, J.D. Symplectic maps, variational principles, and transport. Rev. Mod. Phys. 1992, 64, 795–848. [Google Scholar] [CrossRef] [Scilit]
- Green, G. An Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism; University of Minnesota: Minneapolis, MN, USA, 1828. [Google Scholar]
- Cartan, E. Les Systèmes Différentiels Extérieurs et Leurs Applications Géométriques; Hermann: Paris, France, 1945. [Google Scholar]
- Krawczyk, H.; Eronen, P. HMAC-Based Extract-And-Expand Key Derivation Function (HKDF), RFC 5869; IETF: Wilmington, DE, USA, 2010. [Google Scholar]
- Fujisaki, E.; Okamoto, T. Secure integration of asymmetric and symmetric encryption schemes. In CRYPTO 1999; Springer: Berlin/Heidelberg, Germany, 1999; Volume 1666, pp. 537–554. [Google Scholar]
- Arnold, V.I. Sur une propriété topologique des applications globalement canoniques. CR Acad. Sci. Paris 1965, 261, 3719–3722. [Google Scholar]
- Floer, A. Morse theory for Lagrangian intersections. J. Differ. Geom. 1988, 28, 513–547. [Google Scholar] [CrossRef] [Scilit]
- Floer, A. Witten’s complex and infinite-dimensional Morse theory. J. Differ. Geom. 1989, 30, 207–221. [Google Scholar] [CrossRef] [Scilit]
- Seidel, P. Graded Lagrangian submanifolds. Bull. Soc. Math. Fr. 2000, 128, 103–149. [Google Scholar] [CrossRef] [Scilit]
- Hansen, N.; Ostermeier, A. Completely derandomized self-adaptation in evolution strategies. Evol. Comput. 2001, 9, 159–195. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Turan, M.S.; Barker, E.; Kelsey, J.; McKay, K.A.; Baish, M.L.; Boyle, M. Recommen-Dation for the Entropy Sources Used for Random Bit Generation; NIST Special Publication 800-90B; NIST: Gaithersburg, MD, USA, 2018. [Google Scholar]
- Metger, T.; Poremba, A.; Sinha, M.; Yuen, H. Pseudorandom unitaries with non-adaptive security. In CRYPTO 2024; Springer: Berlin/Heidelberg, Germany, 2024. [Google Scholar]
- Ma, F.; Huang, H.-Y. How to construct random unitaries. arXiv 2024, arXiv:2410.10116. [Google Scholar]
- Haake, F. Quantum Signatures of Chaos; Springer: Berlin/Heidelberg, Germany, 1991. [Google Scholar]
- Izrailev, F.M. Simple models of quantum chaos: Spectrum and eigenfunctions. Phys. Rep. 1990, 196, 299–392. [Google Scholar] [CrossRef] [Scilit]
- Maldacena, J.; Shenker, S.H.; Stanford, D. A bound on chaos. J. High Energy Phys. 2016, 8, 106. [Google Scholar] [CrossRef] [Scilit]
- Sekino, Y.; Susskind, L. Fast scramblers. J. High Energy Phys. 2008, 2008, 65. [Google Scholar] [CrossRef] [Scilit]
- Harrow, A.W.; Low, R.A. Random quantum circuits are approximate 2-designs. Comm. Math. Phys. 2009, 291, 257–302. [Google Scholar] [CrossRef] [Scilit]
- Brandão, F.G.S.L.; Harrow, A.W.; Horodecki, M. Local random quantum circuits are ap-proximate polynomial-designs. Commun. Math. Phys. 2016, 346, 397–434. [Google Scholar]
- Haferkamp, J. Random quantum circuits are approximate unitary t-designs in depth O(nt5+o(1)). Quantum 2022, 6, 795. [Google Scholar] [CrossRef] [Scilit]
- Onorati, E.; Buerschaper, O.; Kliesch, M.; Brown, W.; Werner, A.H.; Eisert, J. Mixing properties of stochastic quantum Hamiltonians. Comm. Math. Phys. 2017, 355, 905–947. [Google Scholar] [CrossRef] [Scilit]
- D’Alessio, L.; Kafri, Y.; Polkovnikov, A.; Rigol, M. From quantum chaos and eigen-state thermalization to statistical mechanics and thermodynamics. Adv. Phys. 2016, 65, 239–362. [Google Scholar]
- Hoffstein, J.; Pipher, J.; Silverman, J.H. NTRU: A ring-based public key cryptosystem. In ANTS-III; Springer: Berlin/Heidelberg, Germany, 1998; Volume 1423, pp. 267–288. [Google Scholar]
- Baptista, M.S. Cryptography with chaos. Phys. Lett. A 1998, 240, 50–54. [Google Scholar] [CrossRef] [Scilit]
- Anshel, I.; Anshel, M.; Goldfeld, D. An algebraic method for public-key cryptography. Math. Res. Lett. 1999, 6, 287–291. [Google Scholar] [CrossRef] [Scilit]
- Kitaev, A.Y. Fault-tolerant quantum computation by anyons. Ann. Phys. 2003, 303, 2–30. [Google Scholar] [CrossRef] [Scilit]
- Nguyen, P.Q.; Vallée, B. (Eds.) The LLL Algorithm: Survey and Applications; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
- Ding, J.; Yang, B.-Y. Multivariate public key cryptography. In Post-Quantum Cryptography; Springer: Berlin/Heidelberg, Germany, 2009; pp. 193–241. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
