arXiv:2610.37061cs.CROct 2026

Manuscript Offprint

arXiv:2610.37061

GKS Fully Homomorphic Encryption: Security Analysis

John Graham, Soundes Marzougui, Miloš Pavlović, Vladimir Shpilrain

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

All traditional encryption schemes share a fundamental operational vulnerability: encrypted data must be decrypted before it can be used. Fully homomorphic encryption (FHE) eliminates this vulnerability by enabling computation directly on encrypted data, but existing lattice-based FHE schemes impose substantial practical constraints that limit deployment.

This paper presents a formal security analysis of the Gribov-Kahrobaei-Shpilrain (GKS) private-key FHE scheme [19]. GKS operates over the commutative idempotent ring Sn≅⨁i=12nZpS_n \cong \bigoplus_{i=1}^{2^n} \mathbb{Z}_p, a direct sum of 2n2^n copies of Zp\mathbb{Z}_p, and requires no bootstrapping or de-linearization, produces bit-exact decryption, supports native encrypted search, and scales to unbounded depth.

GKS is private-key: no external Enc oracle and no plaintext is supplied to the evaluator; there is no public slot-to-coordinate map and no labelled plaintext-ciphertext pairs. The in-scope games are therefore single-ciphertext IND-EAV and multi-ciphertext COA; KPA/CPA are not claimed. Single-ciphertext IND-EAV holds after conditioning on the publicly observable rank (equivalently, Hamming weight). Unconditional advantage zero is not claimed. Equal-weight ensembles showed no distinguisher above the sampling noise floor (Appendix A.2). A proof that the statistical distance is negligible remains open, so we do not claim a completed ITS theorem. We analyze multi-ciphertext COA: the adversary holds many unlabeled ciphertexts and may add and multiply. The residual attacks in that setting are collision harvest (rank-order, kernel-span, then ideal closure). Both require at least one full-pack collision. ZCG (Zero Collision Guarantee) is SIMD packing, an epoch-unique nonce, and an Alice-side duplicate check, and is designed to enforce pack-uniqueness at the plaintext and intermediate layers. It is not yet fully implemented (§3.5.7). Until it is enforced, COA security rests on collision scarcity, ideal rotation, and data hygiene. We do not claim KPA or CPA.

Relevant attack vectors are discussed in Section 3.3. Post-ideal-recovery security in the commutative ZpZ_p instantiation at default parameters is modest. Two patent-protected variants (composite modulus ZNZ_N, US 10,396,976; non-commutative matrix ring, US 9,942,031) provide stronger post-ideal defense. The scheme's private-key architecture, exact arithmetic, and absence of bootstrapping constitute a qualitatively different design point from lattice-based FHE.

Two companion papers address key management [22] and performance [23]. Through six mechanisms, GKS provides a framework for managing a broad range of use cases. On commodity hardware with no GPU, double encryption, SIMD, and rings 6/7/8, the companion measurements report approximately 2.4 μ\mus/slot encryption, 2 ns/slot addition, 31 ns/slot multiplication, 2.3 μ\mus/slot decryption, and expansion 16×. Chained multiplication stays at ∼\sim 31 ns/slot through 1,000,000 iterations [23].

*jgraham@zerofhe.ai, Zero Inc., Connecticut, USA

†^{\dagger}marzougui.soundes@gmail.com, Qubit Guard, Berlin, Germany

‡^{\ddagger}milos@zerofhe.ai, Zero Inc., Belgrade, Serbia

§^{§}vshpilrain@ccny.cuny.edu, CUNY, New York, USA

Keywords: fully homomorphic encryption, private-key FHE, retraction ambiguity, idempotent rings, zero-pattern leakage, security games, AI training, machine learning, secure multi-party computation, SMPC, CKKS, BFV, BGV, RLWE, quantum resistance, bijective encoding, bootstrapping, exact arithmetic, lossless encryption, private search, IND-CPA D^{D}, healthcare data, financial services data.

Contents

1 Introduction ..... 3
1.1 Contributions ..... 4
1.2 Paper Organization ..... 5
1.3 Summary Table ..... 5
2 GKS Construction ..... 5
2.1 Algebraic Defense Structure ..... 5
2.2 The Ring SnS_{n} ..... 6
2.3 Orthogonal Idempotent Basis ..... 6
2.4 Notation ..... 6
2.5 Key Generation ..... 6
2.6 Encryption and Decryption ..... 7
2.7 The Four Components of Retraction Ambiguity ..... 7
3 Security Analysis ..... 8
3.1 Hardness Assumptions ..... 8
3.1.1 Two-phase security model ..... 8
3.1.2 Zero-Knowledge of Ideal (ZKI) ..... 9
3.1.3 Retraction Indistinguishability under Decryption (RI-D) ..... 9
3.1.4 Triangular Basis Indistinguishability (TBI) ..... 10
3.1.5 Retraction Indistinguishability (RI) ..... 11
3.1.6 Independence of Key Components ..... 11
3.1.7 Limitations and Open Problems ..... 11
3.2 Threat Model: Adversary Classes ..... 12
3.3 Identified Attack Vectors ..... 13
3.3.1 Attack 1: Gröbner basis computation ..... 13
3.3.2 Attack 2: Triangular transform recovery ..... 14
3.3.3 Attack 3: Meet-in-the-middle ..... 14
3.3.4 Attack 4: Lattice embedding ..... 14
3.3.5 Attack 5: Statistical distinguishing ..... 14
3.3.6 Attack 6: Linear constraint accumulation from KPA pairs ..... 14
3.3.7 Attack 7: Post-ideal canonicalization / direct-readout attack ..... 14
3.3.8 Attack 8: Non-Zero KPA ..... 15
3.3.9 Attack 9: Rank Order Attacks ..... 16
3.4 Security Games ..... 17
3.4.1 IND-EAV Security Game ..... 17
3.4.2 IND-KPA Security Game ..... 17
3.4.3 Theorem 2 ..... 18
3.4.4 KPA Non-ring Plaintexts ..... 18
3.4.5 IND-CPA Security: Limitation and Context ..... 19
3.4.6 Formal KPA-Zero Security Game ..... 19
3.4.7 Definition ..... 20
3.4.8 Concrete Bound on Carl's I-Recovery Path ..... 20
3.4.9 Ideal Recovery via Equivalent-Ciphertext Differencing ..... 21

3.5 Mitigations ..... 21
3.5.1 Mitigation 1: Ideal Rotation ..... 21
3.5.2 Mitigation 2: Bijective Encoding ..... 22
3.5.3 Mitigation 3: SIMD Security Amplification ..... 22
3.5.4 Mitigation 4: Channel Compartmentalization — Independent Ideals for Search & Compute ..... 23
3.5.5 Mitigation 5: Double Encryption ..... 23
3.5.6 Mitigation 6: ZNZ_{N} Instantiation and Non-Commutative Rings ..... 24
3.5.7 Mitigation 7: ZCG: Collision Elimination ..... 24
4 Deployment Options ..... 24
4.1 Compiled API Mode ..... 25
4.2 Client Custody Architecture ..... 25
4.3 Client Sovereign Architecture ..... 25
4.4 Epoch Key Architecture ..... 26
5 Post Ideal Recovery Hardness ..... 26
6 Comparative Analysis ..... 26
6.1 CKKS IND-CPA D^{D} Vulnerability ..... 27
6.2 Comparison with RLWE: Different Tradeoffs ..... 27
6.3 Position Relative to Prior Symmetric Non-Lattice FHE ..... 27
6.3.1 Prior schemes and their cryptanalysis ..... 27
6.3.2 Where GKS differs structurally ..... 27
6.3.3 What this section does not establish ..... 27
6.4 GKS Performance Metrics Summary ..... 28
7 Quantum Resistance ..... 28
8 Empirical Validation: Machine Learning on Encrypted Data ..... 28
9 Future Work ..... 29
9.1 GKS Performance Metrics ..... 29
9.2 GKS Key Management & Use Cases ..... 29
9.3 Future Research ..... 29
10 Conclusion ..... 29
A Proofs ..... 32
A.1 Single-ciphertext ensembles and the balance condition ..... 32
A.2 Theorem 1 — IND-EAV Security in the Ciphertext-Only Model ..... 32
A.3 Theorem 2 — Retraction Ambiguity Bound ..... 32
A.4 Theorem 6 (Composition — Total Retraction Ambiguity) ..... 33
A.5 Theorem 3 — Retraction Ambiguity for Non-Ring Plaintexts ..... 33
A.6 Theorem 4 — Soundness of Bijective Encoding ..... 33
A.7 Theorem 5 — IND-CCA2 Impossibility ..... 33
B Statistical Tests ..... 33

References (36)