A quantum secure encryption method based on generative artificial intelligence

By employing a quantum-secure encryption method based on generative artificial intelligence, a private key polynomial is dynamically generated using a quantum random number generator and a generative adversarial network model. Combined with lattice basis reduction algorithms and network attack detection, this method achieves full lifecycle adaptive quantum security protection, solving the problems of static parameter risks and insufficient adaptability of existing encryption algorithms in quantum computing environments.

CN123184832APending Publication Date: 2026-11-27YIXUNTONG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611433963.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-16
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing encryption algorithms suffer from static parameter risks and insufficient adaptability, making them unable to effectively address security challenges in quantum computing environments.

Method used

A quantum-secure encryption method based on generative artificial intelligence is adopted. A quantum random number generator generates a true random number sequence, and a generative adversarial network model is used to dynamically generate a private key polynomial that meets the requirements of the quantum encryption algorithm after NTRU. Mathematical security is verified by combining the lattice basis reduction algorithm, and key updates are dynamically triggered by combining the network attack detection results.

Benefits of technology

A quantum security protection system with full lifecycle self-adaptation has been realized, which enhances the encryption algorithm's resistance to quantum attacks and dynamic adjustment capabilities, and solves the security problems of traditional encryption algorithms in quantum computing environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184832A_ABST
    Figure CN123184832A_ABST
Patent Text Reader

Abstract

The application discloses a quantum secure encryption method based on a generative artificial intelligence. The application relates to the technical field of information security and solves the problems of static parameter risk and insufficient adaptability of existing encryption algorithms. A quantum random number sequence with true randomness is generated based on a quantum random number generator; the quantum random number sequence is input as entropy source data into a pre-trained generative adversarial network model to dynamically generate a private key polynomial meeting the requirements of an NTRU post-quantum encryption algorithm; the generated private key polynomial is subjected to mathematical security verification through a lattice basis reduction algorithm to ensure that the private key polynomial meets the lattice password security constraint of resisting quantum attacks; and a key update strategy is dynamically triggered in combination with a network attack detection result to form a full-life-cycle adaptive quantum security protection system, so that the security challenge under a quantum computing environment can be effectively coped with.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of information security technology, and in particular to a quantum-secure encryption method based on generative artificial intelligence. Background Technology

[0002] Traditional encryption algorithms, such as asymmetric encryption algorithms (Rivest-Shamir-Adleman, RSA) and elliptic curve cryptography (ECC), are vulnerable to being cracked by quantum computers. The National Institute of Standards and Technology (NIST)'s Post-Quantum Cryptography Standardization Project has proposed quantum-resistant algorithms based on mathematical problems, such as the lattice-based Kyber algorithm (CRYSTALS-Kyber, Kyber) and the Number Theory Research Unit (NTRU). However, existing post-quantum encryption algorithms still have limitations. Current encryption algorithms suffer from static parameter risks, relying on fixed mathematical parameters, which may lead to their vulnerability to quantum algorithms with prolonged use. Furthermore, they lack adaptability, failing to dynamically adjust encryption strategies based on network conditions or attack behavior. Therefore, it is necessary to propose a quantum-safe encryption method based on generative artificial intelligence to address these issues. Summary of the Invention

[0003] The purpose of this invention is to provide a quantum-safe encryption method based on generative artificial intelligence to solve the problems of static parameter risk and insufficient adaptability of current encryption algorithms.

[0004] This invention provides a quantum-safe encryption method based on generative artificial intelligence, comprising: Step 1: Generate a quantum random number sequence with true randomness using a quantum random number generator; Step 2: Input the quantum random number sequence as entropy source data into the pre-trained generative adversarial network model to dynamically generate a private key polynomial that meets the requirements of the quantum encryption algorithm after NTRU. Step 3: The generated private key polynomial is mathematically verified using a lattice basis reduction algorithm to ensure that it meets the lattice cryptographic security constraints that are resistant to quantum attacks. Step 4: Based on the network attack detection results, dynamically trigger the key update policy.

[0005] Furthermore, in step one, the quantum random number sequence is generated by collecting photon quantum states and environmental noise as auxiliary random inputs, and the environmental noise includes temperature fluctuations and electromagnetic radiation signals.

[0006] Furthermore, in step two, the entropy source data is preprocessed, including the following steps: The original binary entropy source data is standardized to the range [-1, 1]. The standardized data is divided into blocks and encoded into fixed-length blocks, each block corresponding to a coefficient generation unit of the private key polynomial; Frequency domain features are extracted using Fourier transform to enhance the ability to capture random patterns.

[0007] Furthermore, in step two, the generation process of the generative adversarial network model includes: Add a regularization term to the loss function to force the generated coefficients to meet the sparsity requirement of the NTRU algorithm; Apply modulo-q operations to the coefficients output by the generator; The continuous coefficients are converted into discrete values ​​(-1, 1) by thresholding.

[0008] Furthermore, in step three, the lattice basis reduction algorithm includes the LLL algorithm, and the verification metrics include minimum Hamming distance, coefficient distribution uniformity, and resistance to lattice attacks.

[0009] Furthermore, in step three, the mathematical verification of the private key polynomial also includes sparsity checks and reversibility verification to ensure that the coefficients satisfy the modulus constraints and polynomial order conditions of the NTRU algorithm.

[0010] Furthermore, in step four, based on the results of quantum attack simulation alarms or abnormal traffic analysis, the key update and seamless switching process is dynamically triggered to realize a quantum security protection system that is adaptive throughout its entire lifecycle.

[0011] Furthermore, in step one, a diffusion model is used to perform a nonlinear transformation on the quantum random number sequence to generate high-entropy random numbers; the high-entropy random numbers are then dynamically iteratively processed based on chaotic mapping to enhance the unpredictability of the sequence.

[0012] Furthermore, the chaotic mapping includes the Lorentz equation, which utilizes its sensitive initial value properties and nonlinear dynamic behavior to enhance the security of random sequences.

[0013] Furthermore, the high-entropy random number serves as the initialization vector for the AES-GCM encryption algorithm, satisfying the requirements of uniqueness and non-repeatability.

[0014] This invention offers the following advantages: A quantum-secure encryption method based on generative artificial intelligence generates truly random quantum number sequences using a quantum random number generator, providing an unpredictable key generation foundation for the encryption system. This effectively solves the static parameter risk problem caused by traditional encryption algorithms relying on fixed mathematical parameters. Furthermore, it dynamically generates private key polynomials that meet the requirements of post-NTRU quantum encryption algorithms using a pre-trained generative adversarial network model, and performs mathematical security verification using a lattice basis reduction algorithm. This overcomes the limitations of existing AI-assisted encryption schemes that rely on multi-focused key generation and struggle to break through traditional fixed algorithm frameworks, enhancing the encryption algorithm's resistance to quantum attacks. Simultaneously, by dynamically triggering key update strategies based on network attack detection results, the encryption system achieves adaptive defense capabilities by dynamically adjusting encryption strategies according to the network environment or attack behavior. This solves the problem of insufficient adaptability in existing encryption algorithms, ultimately forming a full-lifecycle adaptive quantum security protection system that effectively addresses security challenges in quantum computing environments. Attached Figure Description

[0015] To more clearly illustrate the technical solution of the present invention, the drawings used in the embodiments will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without creative effort.

[0016] Figure 1 This is a flowchart of a quantum-secure encryption method based on generative artificial intelligence according to the present invention. Detailed Implementation

[0017] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention. The technical solutions provided by various embodiments of this invention will be described in detail below with reference to the accompanying drawings.

[0018] Please see Figure 1 This invention provides a quantum-safe encryption method based on generative artificial intelligence, comprising: Step 1: Generate a quantum random number sequence with true randomness based on a quantum random number generator.

[0019] Specifically, the dynamic key generation system is composed of an input module, a generative artificial intelligence (AI) module, a verification module, and a key update module working together. The quantum random number generator generates a sequence of quantum random numbers with true randomness; its unpredictability provides a highly secure key generation foundation for the encryption system. The input module collects physical entropy sources such as photon quantum states through a quantum random number generator (QRNG) and simultaneously captures environmental noise, such as temperature fluctuations and electromagnetic radiation signals, as auxiliary random inputs.

[0020] Preferably, the original quantum random sequence output by the quantum random number generator is nonlinearly transformed using a diffusion model to generate high-entropy random numbers. Subsequently, based on chaotic mappings such as the Lorenze equation, the sequence is dynamically iterated, further enhancing the unpredictability and resistance to quantum brute-force search through its sensitive initial value characteristics and nonlinear dynamic behavior. The final output high-entropy random number will serve as the initialization vector (IV) for the Advanced Encryption Standard-Galois / Counter Mode (AES-GCM) encryption algorithm, providing quantum-safe randomness guarantees for symmetric encryption while satisfying the uniqueness and non-repeatability requirements of the IV in the encryption protocol.

[0021] Step two: Input the quantum random number sequence as entropy source data into the pre-trained generative adversarial network model to dynamically generate a private key polynomial that meets the requirements of the quantum encryption algorithm after NTRU.

[0022] Specifically, the generative AI module is based on a pre-trained Generative Adversarial Network (GAN) model, which transforms the fused entropy source data into a private key polynomial f(x) that meets the requirements of the quantum encryption algorithm after NTRU, ensuring that its coefficients satisfy the modulus constraint and polynomial order condition.

[0023] This invention first preprocesses the raw data obtained by the quantum random number generator. First, it normalizes the raw binary data to the range of [-1,1] through standardization. Then, it divides the entropy source data into fixed-length blocks, such as 256 bits. Each block corresponds to a coefficient generation unit of a polynomial. Finally, it enhances the features by extracting frequency domain features through Fourier transform, thereby enhancing the model's ability to capture random patterns.

[0024] This invention completes the design by designing the generator structure and discriminator objectives, and then injects mathematical constraints by adding a regularization term to the loss function to force the generated coefficients to meet the sparsity requirements of NTRU. Next, after the generator output, modulo-q operations are applied to the coefficients. Post-processing and verification involve first converting continuous coefficients into discrete values ​​(-1, 1) through thresholding, followed by mathematical verification, including basis security, sparsity checks, and invertibility verification.

[0025] Step 3: The generated private key polynomial is mathematically verified using the Lattice Basis Reduction algorithm to ensure that it meets the lattice cryptographic security constraints resistant to quantum attacks.

[0026] Specifically, the quantum-resistant lattice cryptography security constraints include minimum vector length and coefficient distribution. The verification module uses a lattice basis reduction algorithm, such as the Lenstra-Lenstra-Lovász algorithm (LLL), to perform mathematical security verification on the generated polynomial, ensuring its resistance to lattice attacks through indices such as minimum Hamming distance and uniform coefficient distribution. The mathematical verification of the private key polynomial also includes sparsity checks and invertibility verification, ensuring that the coefficients satisfy the modulus constraint and polynomial order condition of the NTRU algorithm.

[0027] Step 4: Based on the network attack detection results, dynamically trigger the key update policy.

[0028] Specifically, the key update module connects to the network attack detection system in real time. Based on the quantum attack simulation alarm or abnormal traffic analysis results, it dynamically triggers the key update and seamless switching process, ultimately realizing a quantum security protection system that is adaptive throughout its entire lifecycle.

[0029] As can be seen from the above embodiments, the present invention combines quantum random number generation technology with generative artificial intelligence models to dynamically generate keys that meet the requirements of post-quantum encryption algorithms. At the same time, it introduces a dynamic key update mechanism driven by lattice basis reduction algorithm for security verification and network attack detection. By adopting generative AI-driven dynamic key generation, AI-enhanced quantum-resistant random number generation, adaptive hybrid encryption architecture, and adversarial training-driven parameter optimization, the present invention effectively addresses the static parameter risks and insufficient adaptability of traditional encryption algorithms in quantum computing environments, and constructs a full lifecycle adaptive quantum security protection system.

[0030] The embodiments of the present invention described above do not constitute a limitation on the scope of protection of the present invention.

Claims

1. A quantum-secure encryption method based on generative artificial intelligence, characterized in that, include: Step 1: Generate a quantum random number sequence with true randomness using a quantum random number generator; Step 2: Input the quantum random number sequence as entropy source data into the pre-trained generative adversarial network model to dynamically generate a private key polynomial that meets the requirements of the quantum encryption algorithm after NTRU. Step 3: The generated private key polynomial is mathematically verified using a lattice basis reduction algorithm to ensure that it meets the lattice cryptographic security constraints that are resistant to quantum attacks. Step 4: Based on the network attack detection results, dynamically trigger the key update policy.

2. The quantum-secure encryption method based on generative artificial intelligence as described in claim 1, characterized in that, In step one, the quantum random number sequence is generated by collecting photon quantum states and environmental noise as auxiliary random inputs, and the environmental noise includes temperature fluctuations and electromagnetic radiation signals.

3. The quantum-secure encryption method based on generative artificial intelligence as described in claim 1, characterized in that, In step two, the entropy source data is preprocessed, including the following steps: The original binary entropy source data is standardized to the range [-1, 1]. The standardized data is divided into blocks and encoded into fixed-length blocks, each block corresponding to a coefficient generation unit of the private key polynomial; Frequency domain features are extracted using Fourier transform to enhance the ability to capture random patterns.

4. The quantum-secure encryption method based on generative artificial intelligence as described in claim 1, characterized in that, Step two, the generation process of the generative adversarial network model includes: Add a regularization term to the loss function to force the generated coefficients to meet the sparsity requirement of the NTRU algorithm; Apply modulo-q operations to the coefficients output by the generator; The continuous coefficients are converted into discrete values ​​(-1, 1) by thresholding.

5. A quantum-secure encryption method based on generative artificial intelligence as described in claim 1, characterized in that, In step three, the lattice basis reduction algorithm includes the LLL algorithm, and the verification metrics include minimum Hamming distance, coefficient distribution uniformity, and resistance to lattice attacks.

6. The quantum-secure encryption method based on generative artificial intelligence as described in claim 1, characterized in that, In step three, the mathematical verification of the private key polynomial also includes sparsity checks and invertibility verification to ensure that the coefficients satisfy the modulus constraints and polynomial order conditions of the NTRU algorithm.

7. A quantum-secure encryption method based on generative artificial intelligence as described in claim 1, characterized in that, In step four, based on the results of quantum attack simulation alarms or abnormal traffic analysis, the key update and seamless switching process is dynamically triggered to realize a quantum security protection system that is adaptive throughout its entire lifecycle.

8. A quantum-secure encryption method based on generative artificial intelligence as described in claim 1, characterized in that, In step one, a diffusion model is used to perform a nonlinear transformation on the quantum random number sequence to generate high-entropy random numbers; the high-entropy random numbers are then dynamically iterated based on chaotic mapping to enhance the unpredictability of the sequence.

9. A quantum-secure encryption method based on generative artificial intelligence as described in claim 8, characterized in that, The chaotic mapping includes the Lorentz equation, which utilizes its sensitive initial value properties and nonlinear dynamic behavior to enhance the security of random sequences.

10. A quantum-secure encryption method based on generative artificial intelligence as described in claim 8, characterized in that, The high-entropy random number is used as the initialization vector for the AES-GCM encryption algorithm, satisfying the requirements of uniqueness and non-repeatability.