arXiv(opens in a new tab)cs.CRAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.26777

A Hybrid Post-Quantum Encryption Architecture with Self-Hosted Key Management for SME Cloud Data Protection

Muhammad Shaheer Bin Junaid

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

Muhammad Shaheer Bin Junaid

Independent Researcher

Karachi, Pakistan

contact@mshaheerbjunaid.com

ORCID: 0009-0002-4088-6232

Abstract— Harvesting ciphertext from cloud storage needs no quantum computer; decrypting it later does. That gap is the harvest-now-decrypt-later exposure: anything protected by RSA or ECDH today that must stay secret for decades is already compromised. Small and medium-sized enterprises are least able to respond: they neither run the infrastructure on which their data sits on nor employ a cryptographer. Bespoke migration suits firms with security budgets; a managed key service relocates trust rather than removing it. The obstacle is architectural, not cryptographic. We present Quantum Cloud Guard (QCG), a software-only three-layer architecture. No prior SME-oriented system combines its three elements: client-side hybrid post-quantum encryption, self-hosted key custody with client-verifiable ML-DSA-87 signatures on served keys, and an integrated application-layer abuse-prevention gateway. Files never leave the client: each is sealed under AES-256-GCM, its key wrapped to an ML-KEM-1024 public key from the enterprise’s key service. The enterprise alone administers it; it signs every key with ML-DSA-87, so a client that pinned it detects substitution. Separating key custody from data custody is the point: a provider holding both can read the data. On a 24 MHz STM32F407, ML-KEM-1024 key generation takes 40.8 ms and decapsulation 44.0 ms; on the server every post-quantum operation stays sub-millisecond, signing adding 0.24 ms per request. The service runs on a 4.49 EUR/month virtual server. Under sustained flooding, the in-process gateway Sentinel Gate rejected 98.8% of attack traffic while a legitimate client’s median latency moved from 621 to 625 ms. Being single-source, this shows filtering effectiveness, not DDoS resilience.

Keywords: Post-quantum cryptography; Hybrid encryption; ML-KEM; ML-DSA; Key management; Cloud storage security; Small and medium-sized enterprises; Harvest-now-decrypt-later; Cryptographic migration

I. Introduction

More than half the world’s data now sits in the cloud [1]. For small and medium-sized enterprises (SMEs), dependence on Amazon Web Services, Google Cloud Platform, or Microsoft Azure is not a choice so much as a cost structure, and that dependence has opened an exposure current encryption practice does not close.

The public-key cryptography underneath, RSA and elliptic curves, rests on problems classical computers cannot solve efficiently [2], and for decades that was enough. Shor ended the assumption in 1994: a large enough quantum computer breaks both [3]. The threat used to look remote. A 2025 result cut the estimated qubit count for breaking RSA-2048 from roughly twenty million to under one million [4], and the most recent expert survey rates a cryptographically relevant quantum computer as quite possible within ten years and likely within fifteen [5].

Waiting for that machine is not the risk. The attack has already started: under harvest-now-decrypt-later (HNDL), an adversary records encrypted data today and decrypts it once the hardware arrives [6], [17], so anything with a long confidentiality life (health records, financial data, legal files, proprietary designs) is being collected now. NIST names HNDL directly in its transition guidance [7]. After an eight-year standardisation effort, it published its first three post-quantum standards in August 2024: FIPS 203 (ML-KEM, from CRYSTALS-Kyber), FIPS 204 (ML-DSA, from CRYSTALS-Dilithium), and FIPS 205 (SLH-DSA, from SPHINCS+) [8], with FN-DSA (from FALCON) to follow as the draft FIPS 206.

The government has since moved from guidance to mandate. Executive Order 14412, signed in June 2026, requires federal high-value assets and high-impact systems to migrate to post-quantum key establishment by the end of 2030 and to post-quantum authentication by the end of 2031, and extends the same obligation to federal contractors [63]. The separation of those two deadlines is instructive: authentication is the harder migration and the one least advanced in practice. Industry is moving on the same clock, Google targeting full post-quantum migration by 2029 [9] and AWS building quantum-safe services to NIST guidance [10]. The SME sector is not. It makes up more than ninety per cent of businesses worldwide. It employs almost sixty per cent of the workforce [11], yet fewer than five per cent of enterprises have a formal quantum-transition plan [13]. The usual constraints apply: thin security budgets, no cryptographer on staff, dependence on third-party clouds, and no framework written for firms this size [12]. Managed post-quantum key services look like the answer, but they are not. The threat model treats the cloud provider as an untrusted host of long-lived data; handing that same provider the keys reintroduces the trust the architecture exists to remove, and does so under per-operation pricing that a self-hosted service avoids.

The providers secure their own estates. What they do not secure is the encryption an SME performs before its data leaves the building, and that step is almost always classical. The literature offers hybrid classical and post-quantum frameworks [14], hybrid TLS [15], and quantum key distribution paired with AES-256 [16], but these target enterprise systems or need dedicated hardware such as a quantum channel, and the more theoretical proposals give a hardware-limited SME no software-only path it can actually deploy.

This paper introduces Quantum Cloud Guard (QCG), a hybrid three-layer encryption architecture for SMEs on public or third-party clouds. QCG needs no specialised quantum hardware, runs over the cloud infrastructure the firm already uses, and leaves key control with the SME rather than the provider. The first layer is client-side hybrid encryption: each file is sealed with AES-256-GCM, and the AES-256 key is encapsulated under ML-KEM-1024 (formerly CRYSTALS-Kyber), a NIST-standardised key-encapsulation mechanism (KEM). The split is deliberate. A symmetric cipher that holds against quantum search protects the data; a post-quantum mechanism protects the key, which is the piece an HNDL adversary actually wants; and an attacker must defeat both, so the design survives even if flaws surface in the newer lattice schemes. The second layer is a Quantum-Safe Key Management Service (QS-KMS) on an inexpensive virtual private server (VPS). It generates ML-KEM-1024 key pairs, stores secret keys encrypted, and issues short-lived session tokens that let a user authenticate from any device without a key ever reaching the cloud; tokens are revoked server-side when the client closes, with a hard one-hour ceiling. Sentinel Gate, a Layer 7 abuse-prevention gateway built into the QS-KMS, adds per-identity rate limiting, dynamic blacklisting, progressive tarpitting of brute-force attempts, and logging of every access event [39]. ML-DSA-87 (formerly CRYSTALS-Dilithium) supplies integrity and authenticity.

This paper makes three contributions, and none of them is a new cryptographic primitive; the primitives are standard and used as standardised. What is new is the arrangement, and the case that it holds up.

  1. The QCG architecture. A software-only, client-side hybrid design that keeps full key custody at the SME and asks for no special hardware. Its novelty is not any primitive but the fit to the budget, expertise, and trust constraints a small firm actually works under, and no prior SME-oriented system combines client-side hybrid post-quantum encryption, self-hosted key custody with client-verifiable ML-DSA-87 signatures on every served key, and an integrated application-layer abuse-prevention gateway.

  2. A self-hosted key service defended as a first-class concern. A QS-KMS whose availability and integrity are protected by the integrated Layer 7 gateway. Prior SME-focused post-quantum frameworks secure confidentiality and stop there, leaving their own key services exposed. QCG treats protection of the key infrastructure as a security property in its own right, through per-identity rate limiting, resistance to credential stuffing and brute force, and single-source flood mitigation.

  3. An empirical account of the cost. What quantum-safe protection actually costs under SME-realistic conditions: a performance floor for ML-KEM-1024 on constrained ARM Cortex-M4 hardware, and end-to-end measurements across file sizes on a live deployment, which together show post-quantum data protection to be computationally and economically feasible at SME scale.

Hybrid post-quantum encryption already exists in several forms. What does not exist is a single architecture that satisfies, at once, the five constraints a small enterprise actually works under:

(i) Software alone, with no specialised hardware;

(ii) Key custody held apart from data custody, so the party storing the ciphertext cannot read it;

(iii) A key service defended at the application layer, not left exposed once confidentiality is handled;

(iv) A flat, predictable cost that does not penalise good key hygiene;

(v) A working, inspectable implementation, not a design on paper.

The prior work surveyed in the next section satisfies at most two of these together. QCG is built for all five, and the conjunction, not any single primitive, is the contribution.

The rest of the paper runs as follows. Section II describes the changing quantum threat. Section III reviews related work. Section IV sets out the methodology. Section V covers the cryptographic background. Sections VI and VII describe the framework layers. Section VIII presents the proof-of-concept implementation; Section IX the evaluation and benchmarks; Section X the implementation and deployment challenges; and Section XI the security analysis. Section XII offers a broader discussion and future work, and Section XIII concludes.

References (63)