A dynamic data encryption method and device integrating quantum state and chaotic system
By fusing quantum state and chaotic systems in data encryption technology, using the QKD system to generate quantum keys, and dynamically adjusting the chaotic system to generate pseudo-random sequences through external perturbation signals, the problem of insufficient static and security of keys in the prior art is solved, and higher encryption strength and flexibility are achieved.
Patent Information
- Application Number
- CN202411994369.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-08
AI Technical Summary
The existing data encryption technology is not very secure enough, especially when facing quantum computer attacks, static keys are easily cracked or stolen, and cannot cope with the ever-changing attack environment.
The dynamic data encryption method that fuses quantum states and chaotic systems is adopted to realize encryption through the quantum key generated by the QKD system, and external perturbation signals are introduced to dynamically adjust the chaotic system, generate pseudo-random sequences, and generate the final ciphertext through XOR operation.
The dynamic changes of the key are realized, the encryption strength and security are improved, and the adaptability and flexibility are higher, effectively improving the security of data encryption.
Smart Images

Figure CN119788274A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of quantum network and information security technology, and in particular to a dynamic data encryption method and device integrating quantum state and chaotic system. Background Art
[0002] Quantum State (QS) is quantum mechanics A basic concept in physics used to describe the state of a quantum system. Unlike the state in classical physics, the quantum state has special properties such as superposition and entanglement. The quantum state can be represented by a wave function or a state vector, and the specific form depends on the dimension of the quantum system. Quantum communication achieves more secure information transmission by utilizing the unknowability and non-replicability of the quantum state;
[0003] A chaotic system refers to a system that exhibits unpredictable, random-like motion in a deterministic dynamic system because it is sensitive to initial values. It has the characteristics of sensitivity to initial conditions, long-term unpredictability, boundedness (the trajectory of chaotic motion is always confined to a certain area), and ergodicity (the chaotic motion undergoes various states within its chaotic attraction domain).
[0004] Among them, the logical mapping is a common chaotic system that can exhibit complex chaotic behavior. Its dynamic formula is x n+1 =μx n (1-x n ). When the control parameter μ∈(3.56994564,4], the Logistic map is in a chaotic state.
[0005] Existing data encryption technology mainly relies on traditional encryption algorithms, such as symmetric encryption and asymmetric encryption. Symmetric encryption (such as AES) uses the same key for encryption and decryption, and the encryption and decryption speed is fast and simple to implement; asymmetric encryption (such as RSA) uses a pair of keys (public key and private key), and key management is more convenient.
[0006] However, traditional encryption algorithms use classical mathematical algorithms to obtain keys, which have low encryption strength and are not secure enough in the face of quantum computer attacks. Moreover, the parameters of traditional encryption algorithms are usually set at the beginning of the encryption process and are not adjusted as the external environment changes. They cannot cope with the ever-changing attack environment, and the static keys used are easily cracked or stolen by attackers, making the security of encrypted data insufficient.
[0007] Therefore, it is necessary to improve the existing data encryption technology and propose a more secure dynamic data encryption method. Summary of the invention
[0008] In order to solve the problem that the existing data encryption technology has low security, the present invention provides a dynamic data encryption method and device integrating quantum state and chaotic system.
[0009] To achieve the above purpose, the technical solution adopted by the present invention is as follows:
[0010] A dynamic data encryption method integrating quantum state and chaotic system is implemented based on quantum key generated by QKD system, wherein the QKD system includes N pairs of transmitting end and receiving end, N≥1, and the method includes the following steps:
[0011] S1: pre-process the encrypted data to obtain a plaintext sequence;
[0012] S2: Introduce external disturbance signals to dynamically adjust the chaotic system and generate pseudo-random sequences;
[0013] S3: Convert the pseudo-random sequence into a binary sequence to obtain a key stream sequence;
[0014] S4: Perform an XOR operation on the key stream sequence and the plaintext sequence to obtain the intermediate ciphertext;
[0015] S5: Generate a quantum key, use the quantum key sequence to perform an XOR operation with the intermediate ciphertext to obtain the final ciphertext.
[0016] In the above scheme, by introducing an external disturbance signal to dynamically adjust the chaotic system, the dynamic change of the key is realized, the problem of static key being attacked is solved, and it has high adaptability and flexibility. At the same time, it combines quantum keys for encryption, and improves the encryption strength based on the theoretical security of the quantum state, effectively improving the security of data encryption.
[0017] Preferably, the data to be encrypted is voice data to be encrypted.
[0018] Preferably, step S1 specifically includes: sampling and digitizing the voice data to be encrypted, and performing voice compression coding on the sampled voice data to obtain a voice plaintext binary sequence.
[0019] Preferably, the external disturbance signal is environmental noise or an electromagnetic interference signal.
[0020] Preferably, the chaotic system is a Logistic map, and its equation is:
[0021] x n+1 =r(t)*x n *(1-x n )
[0022] Among them, x n is the state value of the nth iteration, x n+1is the state value of the n+1th iteration, r(t) is the bifurcation parameter, r(t)∈(0,4].
[0023] Preferably, in step S2, the external disturbance signal is also normalized.
[0024] Preferably, dynamic adjustment of the chaotic system is achieved by controlling the influence of the normalized external disturbance signal on the bifurcation parameter r(t).
[0025] Preferably, the relationship formula between the normalized external disturbance signal and the bifurcation parameter r(t) is as follows:
[0026] r(t)=k*r(0)+perturbation(t)
[0027] Among them, r(0) is the initial value of the bifurcation parameter, k is the adjustment coefficient, and perturbation(t) is the normalized external disturbance signal that varies with time.
[0028] A dynamic data encryption device integrating quantum state and chaotic system, used to implement the dynamic data encryption method integrating quantum state and chaotic system, comprising:
[0029] A data preprocessing module is used to preprocess the encrypted data to obtain a plaintext sequence;
[0030] External signal disturbance module, used to introduce external disturbance signal to dynamically adjust the chaotic system;
[0031] Chaotic system, used to generate pseudo-random sequences in combination with external disturbance signals;
[0032] A quantum key generation module, used to generate a quantum key;
[0033] The encryption module is used to convert the pseudo-random sequence into a binary sequence to obtain a key stream sequence, perform an XOR operation on the key stream sequence and the plaintext sequence to obtain an intermediate ciphertext, and perform an XOR operation on the quantum key sequence and the intermediate ciphertext to obtain a final ciphertext.
[0034] Preferably, the chaotic system is a Logistic map, and its equation is:
[0035] x n+1 =r(t)*x n *(1-x n )
[0036] r(t)=k*r(0)+perturbation(t)
[0037] Among them, x n is the state value of the nth iteration, x n+1is the state value of the n+1th iteration, r(t) is the bifurcation parameter, r(t)∈(0,4]; r(0) is the initial value of the bifurcation parameter, k is the adjustment coefficient, and perturbation(t) is the normalized external disturbance signal that varies with time.
[0038] Beneficial technical effects of the present invention:
[0039] The present invention provides a dynamic data encryption method and device that integrates quantum states and chaotic systems. By introducing an external disturbance signal to dynamically adjust the chaotic system, dynamic changes in keys are achieved, and the problem of static keys being attacked is solved. The method and device have high adaptability and flexibility. At the same time, quantum keys are combined for encryption, and the encryption strength is improved based on the theoretical security of the quantum state, effectively improving the security of data encryption. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 This is a block diagram of the quantum key distribution (QKD) system;
[0041] Figure 2 It is a flowchart of the implementation steps of the technical solution of the present invention;
[0042] Figure 3 It is a schematic diagram of module connection of the present invention;
[0043] Among them: 1. Data preprocessing module; 2. External signal disturbance module; 3. Chaotic system module; 4. Quantum key generation module; 5. Encryption module. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments, but the scope of protection claimed in the present invention is not limited to the following specific embodiments.
[0045] Example 1
[0046] like Figure 1 As shown, a quantum key distribution (QKD) system includes N (N≥1) pairs of transmitters and receivers, where:
[0047] Transmitter: The core components are quantum light source, quantum state modulator and control unit. The quantum light source is responsible for generating single or multiple photons with specific quantum states as the initial carrier of key information; the quantum state modulator encodes the pre-generated original key information into the quantum state of the photon based on the built-in algorithm, such as changing the polarization direction of the photon to correspond to different binary digits, thereby completing the "carrying" of information. The control unit plays a coordinating role, accurately controlling the emission time and intensity of the quantum light source, as well as the execution of the coding rules of the modulator, to ensure the stability and accuracy of the quantum signal emitted.
[0048] Receiving end: The core components include single-photon detectors, quantum state analyzers, and decoding modules. Single-photon detectors capture weak photon signals transmitted from quantum channels; quantum state analyzers accurately measure the quantum states of received photons and restore the preliminary information carried by photons; the decoding module reversely deduce according to the pre-agreed coding rules, converting the measured information into the original key sequence, completing the reception and preliminary restoration of the key.
[0049] The process of generating quantum keys by the QKD system is as follows:
[0050] S1: Random number preparation: The "classical random number generator" module at the sending end uses a specific random number algorithm to generate a series of classical random numbers. These random numbers will serve as the basis for the original key information and provide initial data for the subsequent generation of quantum keys;
[0051] S2: Quantum state preparation: The generated classical random number is transmitted to the "coding unit", and after the coding rule conversion, it enters the "quantum state preparation device". The "quantum light source" in the "quantum state preparation device" generates single or multiple photons, which have specific controllable quantum states. Subsequently, the "modulator" accurately changes the quantum state of the photon according to the signal from the coding unit, "imprints" the information carried by the classical random number onto the quantum state, completes the conversion from classical information to quantum state information, and prepares a quantum state sequence containing key information;
[0052] S3: Quantum transmission: The photon sequence prepared by the quantum state enters the "transmission control" module, adding auxiliary information such as synchronization identification and check code so that the receiving end can correctly receive and process the data. After processing, the quantum state sequence is transmitted through the "quantum channel";
[0053] S4: Quantum state detection: At the receiving end, the "quantum state detector" is responsible for capturing quantum state photons transmitted from the quantum channel. Among them, the "single photon detector" attempts to capture a single photon signal and convert it into an electrical signal, and then the "amplifier" enhances the signal strength, so that the subsequent processing unit can effectively process the weak signal and restore the preliminary information carried by the quantum state;
[0054] S5: Data screening: The data obtained from the quantum state detector enters the "data screening unit". First, the "measurement basis comparison" is performed. Since the quantum state measurement has basis selectivity, the receiver needs to compare the measurement basis with the sender to filter out invalid data caused by inconsistent measurement basis; then use the "error correction" process to correct a small number of bit errors introduced by noise and other interference during the transmission process to ensure data consistency at both ends;
[0055] S6: Key determination: The clean data that has been screened flows into the "key generation unit" for key operations such as privacy amplification, highly purifies the data, and ultimately generates a highly secure and confidential quantum key, completing the entire quantum key generation process.
[0056] like Figure 2 As shown, a dynamic data encryption method integrating quantum state and chaotic system comprises the following steps:
[0057] S1: pre-process the data to be encrypted to obtain the plaintext sequence {Mi};
[0058] S2: Introduce external disturbance signals to dynamically adjust the chaotic system and generate pseudo-random sequences;
[0059] S3: Convert the pseudo-random sequence into a binary sequence to obtain a key stream sequence {xi};
[0060] S4: Perform an XOR operation on the key stream sequence and the plaintext sequence to obtain the intermediate ciphertext;
[0061] S5: Generate the quantum key {yi}, perform an XOR operation on the quantum key sequence and the intermediate ciphertext to obtain the final ciphertext {Ci}.
[0062] During the specific implementation process, by introducing external disturbance signals to dynamically adjust the chaotic system, the dynamic change of the key is realized, the problem of static key being attacked is solved, and it has high adaptability and flexibility. At the same time, it combines quantum keys for encryption, and improves the encryption strength based on the theoretical security of the quantum state, effectively improving the security of data encryption.
[0063] More specifically, the data to be encrypted is voice data to be encrypted.
[0064] More specifically, step S1 includes: sampling and digitizing the voice data to be encrypted, and performing voice compression coding on the sampled voice data to obtain a voice plaintext binary sequence.
[0065] More specifically, the external disturbance signal is environmental noise or an electromagnetic interference signal.
[0066] More specifically, the chaotic system is a Logistic map, and its equation is:
[0067] x n+1 =r(t)*x n *(1-x n )
[0068] Among them, x n is the state value of the nth iteration (usually x n In the interval [0, 1]), x n+1is the state value of the n+1th iteration, r(t) is the bifurcation parameter, which affects the behavior of the mapping, r(t)∈(0,4].
[0069] In the specific implementation process, r(t) in the mapping equation determines the dynamic behavior of the system, especially the transition from stable state to chaotic behavior. r(t) controls the stability and degree of chaos of the system: when r(t) is in the range of [0, 1], the system usually converges to a stable point; when r(t) increases to close to 3.57, the system exhibits periodic behavior; when r(t) exceeds 3.57, the system enters a chaotic state and exhibits complex and unpredictable behavior.
[0070] More specifically, in step S2, the external disturbance signal is also normalized.
[0071] More specifically, by controlling the influence of the normalized external disturbance signal on the bifurcation parameter r(t), dynamic adjustment of the chaotic system is achieved.
[0072] More specifically, the relationship between the normalized external disturbance signal and the bifurcation parameter r(t) is as follows:
[0073] r(t)=k*r(0)+perturbation(t)
[0074] Among them, r(0) is the initial value of the bifurcation parameter, k is the adjustment coefficient, and perturbation(t) is the normalized external disturbance signal that varies with time.
[0075] In the specific implementation process, the size of the bifurcation parameter r(t) is continuously changed through external disturbance signals, thereby affecting the generation of pseudo-random sequences of the chaotic system and realizing dynamic changes of the key.
[0076] In the specific implementation process, the decryption process is the reverse process of the encryption process:
[0077] Obtain the quantum key {yi}, and set the initial value x0 and bifurcation parameter r(t) of the Logistic map to be the same as those used in encryption;
[0078] Apply the same Logistic mapping formula to ensure that the external signal disturbance is consistent with that during encryption, generate the same pseudo-random sequence and convert it into a binary sequence to obtain the key stream sequence {xi};
[0079] Then the plaintext is obtained by reverse processing
[0080] Example 2
[0081] like Figure 3As shown, a dynamic data encryption device integrating quantum state and chaotic system is used to implement the dynamic data encryption method integrating quantum state and chaotic system, comprising:
[0082] The data preprocessing module 1 is used to preprocess the encrypted data to obtain a plaintext sequence;
[0083] External signal disturbance module 2, used for introducing external disturbance signal to dynamically adjust the chaotic system;
[0084] Chaotic system module 3, used to generate a pseudo-random sequence in combination with an external disturbance signal;
[0085] A quantum key generation module 4, used to generate a quantum key;
[0086] The encryption module 5 is used to convert the pseudo-random sequence into a binary sequence to obtain a key stream sequence, perform an XOR operation on the key stream sequence and the plaintext sequence to obtain an intermediate ciphertext, and perform an XOR operation on the quantum key sequence and the intermediate ciphertext to obtain a final ciphertext.
[0087] More specifically, the chaotic system is a Logistic map, and its equation is:
[0088] x n+1 =r(t)*x n *(1-x n )
[0089] r(t)=k*r(0)+perturbation(t)
[0090] Among them, x n is the state value of the nth iteration (usually x n In the interval [0, 1]), x n+1 is the state value of the n+1th iteration, r(t) is the bifurcation parameter, which affects the mapping behavior, r(t)∈(0,4]; r(0) is the initial value of the bifurcation parameter, k is the adjustment coefficient, and perturbation(t) is the normalized external disturbance signal that varies with time.
[0091] According to the disclosure and teaching of the above description, those skilled in the art to which the present invention belongs may also make changes and modifications to the above embodiments. Therefore, the present invention is not limited to the specific embodiments disclosed and described above, and some modifications and changes to the invention should also fall within the scope of protection of the claims of the present invention. In addition, although some specific terms are used in this specification, these terms are only for the convenience of description and do not constitute any limitation to the present invention.
Claims
1. A dynamic data encryption method integrating quantum state and chaotic system, characterized in that: Based on the quantum key generated by the QKD system, the QKD system includes N pairs of transmitting ends and receiving ends, N≥1, and the method includes the following steps: S1: pre-process the encrypted data to obtain a plaintext sequence; S2: Introduce external disturbance signals to dynamically adjust the chaotic system and generate pseudo-random sequences; S3: Convert the pseudo-random sequence into a binary sequence to obtain a key stream sequence; S4: Perform an XOR operation on the key stream sequence and the plaintext sequence to obtain the intermediate ciphertext; S5: Generate a quantum key, use the quantum key sequence to perform an XOR operation with the intermediate ciphertext to obtain the final ciphertext.
2. The method for dynamic data encryption integrating quantum state and chaotic system according to claim 1, characterized in that: The data to be encrypted is voice data to be encrypted.
3. The method for dynamic data encryption integrating quantum state and chaotic system according to claim 2, characterized in that: Step S1 specifically includes: sampling and digitizing the voice data to be encrypted, and performing voice compression coding on the sampled voice data to obtain a voice plaintext binary sequence.
4. The method for dynamic data encryption integrating quantum state and chaotic system according to claim 2, characterized in that: The external disturbance signal is environmental noise or an electromagnetic interference signal.
5. The method for dynamic data encryption integrating quantum state and chaotic system according to claim 1, characterized in that: The chaotic system is a Logistic map, and its equation is: x n+1 =r(t)*x n *(1-x n ) Among them, x n is the state value of the nth iteration, x n+1 is the state value of the n+1th iteration, r(t) is the bifurcation parameter, r(t)∈(0,4].
6. A dynamic data encryption method integrating quantum state and chaotic system according to claim 5, characterized in that: In step S2, the external disturbance signal is also normalized.
7. A dynamic data encryption method integrating quantum state and chaotic system according to claim 6, characterized in that: By controlling the influence of the normalized external disturbance signal on the bifurcation parameter r(t), dynamic adjustment of the chaotic system can be achieved.
8. A dynamic data encryption method integrating quantum state and chaotic system according to claim 7, characterized in that: The relationship between the normalized external disturbance signal and the bifurcation parameter r(t) is as follows: r(t)=k*r(0)+perturbation(t) Among them, r(0) is the initial value of the bifurcation parameter, k is the adjustment coefficient, and perturbation(t) is the normalized external disturbance signal that varies with time.
9. A dynamic data encryption device integrating quantum state and chaotic system, characterized in that: include: A data preprocessing module is used to preprocess the encrypted data to obtain a plaintext sequence; External signal disturbance module, used to introduce external disturbance signal to dynamically adjust the chaotic system; Chaotic system, used to generate pseudo-random sequences in combination with external disturbance signals; A quantum key generation module, used to generate a quantum key; The encryption module is used to convert the pseudo-random sequence into a binary sequence to obtain a key stream sequence, perform an XOR operation on the key stream sequence and the plaintext sequence to obtain an intermediate ciphertext, and perform an XOR operation on the quantum key sequence and the intermediate ciphertext to obtain a final ciphertext.
10. A dynamic data encryption device integrating quantum state and chaotic system according to claim 9, characterized in that: The chaotic system is a Logistic map, and its equation is: x n+1 =r(t)*x n *(1-x n ) r(t)=k*r(0)+perturbation(t) Among them, x n is the state value of the nth iteration, xn +1 is the state value of the n+1th iteration, r(t) is the bifurcation parameter, r(t)∈(0,4]; r(0) is the initial value of the bifurcation parameter, k is the adjustment coefficient, and perturbation(t) is the normalized external disturbance signal that varies with time.
Citation Information
Cited By
Market supervision data security protection method and system based on dynamic encryption strategy
CN120223430A
Information security management method and system based on sensitive data
CN120449206A
Voice feature dynamic key authentication method and system based on quantum security
CN121308984A