Data processing device and method based on controllable quantum noise source and hash function
Through data processing devices and methods based on controllable quantum noise sources and hash functions, the problems of insufficient security and lack of flexibility in the prior art are solved, and security and flexibility are improved in the face of high-level quantum attacks.
Patent Information
- Application Number
- CN202510377244.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-07-18
AI Technical Summary
The prior art is insecurity in the face of high-level quantum attacks and lacks flexibility, so it cannot be adjusted and optimized according to different security needs.
The data processing device and method based on a controllable quantum noise source and hash function are adopted to improve randomness and the stability of quantum entropy by controlling the quality of the quantum noise source and the adjustable parameters of the hash function, and to provide a flexible and customized data processing solution by dynamically adjusting the control parameters of the hash function.
It improves the security of data processing and system flexibility, and can make dynamic adjustments when facing different security needs, enhancing the adaptability and stability of the system.
Smart Images

Figure CN120336682A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of quantum information technology, and particularly to a data processing device and method based on a controllable quantum noise source and a hash function. Background Art
[0002] Currently, for quantum random number generators (QRNGs) with different functional levels, there are two cryptographic post - processing methods: one is to use approved cryptographic algorithms; the other is to use post - processing methods based on cryptographic functions such as block ciphers, hash functions, m - sequences, etc. These technical solutions mainly utilize the characteristics of quantum noise to enhance data security and further improve data security through cryptographic algorithms.
[0003] For example, Chinese Patent Application No. CN202310466281.9 proposes a real - time entropy evaluation post - processing method for generating quantum random numbers. It proposes to reconstruct the quantum state phase - space distribution in real - time in a continuous - variable quantum random number generation scheme and measure its deviation from the ideal value. When the deviation reaches the re - judgment threshold, the entropy evaluation is updated in real - time, thereby adjusting the scale of the post - processing matrix in real - time; the seed used to construct the random extractor is also updated in real - time. On this basis, the information - theoretic secure generalized hashing post - processing of multiple - path quantum random numbers is implemented in parallel.
[0004] For example, Chinese Patent Application No. CN202411024511.7 proposes a method, device, and quantum security module for protecting quantum random numbers. The method includes: obtaining an initial random number sent by a quantum random number generator, obtaining a true random number and the expected length of the random number, and processing the initial random number according to a preset post - processing rule based on the expected length of the random number and the true random number to obtain a final quantum random number; wherein, the preset post - processing rule includes mathematical operation rules and / or cryptographic operation rules. By using the true random number as a post - processing factor to process the initial random number, the initial random number sent by the quantum random number generator in the security module can be confused or encrypted, so that the quantum random number can resist attacks such as probe monitoring and side - channel analysis during the transmission process.
[0005] Although the prior art provides various data processing solutions based on quantum noise sources and hash functions, there are still some significant drawbacks, mainly as follows:
[0006] Firstly, the security is insufficient. Whether it is through real - time updating of random seeds to construct a Toeplitz hash matrix for post - processing quantum random numbers or through preset post - processing rules (including mathematical operation rules and / or cryptographic operation rules) to perform post - processing on random numbers, although it can provide a certain degree of randomness, its security is still insufficient in the face of high - level quantum attacks. The development of quantum computing technology may weaken the effectiveness of these methods.
[0007] Second, there is a lack of flexibility. Existing technical solutions usually lack sufficient flexibility and cannot be adjusted and optimized according to different security requirements. Summary of the Invention
[0008] In view of the above problems, the present invention proposes a data processing device and method based on a controllable quantum noise source and a hash function. By virtue of the controllability of the quantum noise source and the adjustable parameters of the hash function, it can not only improve the security of data processing, but also enhance the flexibility and adaptability of the system. Among them, by controlling the quality of the quantum noise source, its randomness can be improved and the stability of its quantum entropy can be maintained, thereby improving the system randomness and ensuring the stability of the quantum ratio. With the help of the hash function with control parameters and its dynamic adjustment scheme of control parameters, the control parameters of the hash function can not only be preset values, but also be dynamically adjusted according to the actual scenario requirements, providing a more flexible and customized data processing solution and greatly enhancing the flexibility of the system.
[0009] Specifically, a first aspect of the present invention relates to a data processing device based on a controllable quantum noise source and a hash function, which includes a quantum noise source module, an amplification and acquisition module, a random number data post-processing module, a cryptographic data post-processing module, and a controller module;
[0010] The quantum noise source module is configured to generate a quantum noise original signal based on control parameters;
[0011] The amplification and acquisition module is configured to convert the quantum noise original signal into an original random number;
[0012] The random number data post-processing module is configured to process the original random number with a first seed to generate a first random number, wherein the first seed is associated with the first random number;
[0013] The cryptographic data post-processing module is configured to perform a hash function process on the first random number to generate a final random number;
[0014] The controller module is configured to control the control parameters for the hash function according to the final random number, and / or control the control parameters for the quantum noise source module according to the original random number.
[0015] Further, the controller module includes a minimum entropy real-time detection unit and a control and status monitoring unit;
[0016] The minimum entropy real-time detection unit is configured to perform a minimum entropy detection on the original random number;
[0017] The control and status monitoring unit is configured to control the control parameters for the quantum noise source module according to the minimum entropy detection result, and / or control the control parameters for the hash function according to the final random number quality.
[0018] Furthermore, the control and status monitoring unit is further configured to: evaluate the final random number quality based on the difference between the statistical test results of the final random number and the statistical test results of its corresponding original random number, and / or the security evaluation result of the final random number; and, when the final random number quality does not meet the requirements, adjust the control parameters for the hash function.
[0019] Optionally, the quantum noise source module is implemented based on a vacuum state fluctuation process, an amplified spontaneous emission process, or a laser phase fluctuation process.
[0020] Further, a first seed is generated by means of the exclusive OR operation of the first random number and the first initial seed; and / or, the control parameters for the hash function include a seed source or a key, which is generated by means of the exclusive OR operation of the final random number and the second initial seed.
[0021] Furthermore, the first initial seed is a quantum random number and / or can be dynamically updated; and / or, the second initial seed is a quantum random number and / or can be dynamically updated.
[0022] Optionally, the first random number is generated by processing the original random number with the first seed by means of the Von Neumann algorithm, the logical exclusive OR algorithm, the m-LSB algorithm, the secure hash algorithm, or the Toeplitz hash algorithm.
[0023] A second aspect of the present invention relates to a data processing method based on a controllable quantum noise source and a hash function, which includes a quantum noise generation step, a data acquisition step, a random number data post-processing step, a cryptographic data post-processing step, and a control step;
[0024] The quantum noise generation step is used to generate a quantum noise raw signal based on control parameters;
[0025] The data acquisition step is used to convert the quantum noise raw signal into an original random number;
[0026] The random number data post-processing step is used to process the original random number with the first seed to generate a first random number, wherein the first seed is associated with the first random number;
[0027] The cryptographic data post-processing step is used to perform a hash function process on the first random number to generate a final random number;
[0028] The control step is used to control the control parameters for the hash function according to the final random number, and / or control the control parameters for the quantum noise generation step according to the original random number.
[0029] Further, in the control step, the control parameters for the hash function are controlled according to the quality of the final random number, and / or the control parameters for the quantum noise generation step are controlled according to the minimum entropy detection result of the original random number.
[0030] Further, a first seed is generated by means of the exclusive OR operation between the first random number and the first initial seed; and / or, a seed source or key used as the control parameter for the hash function is generated by means of the exclusive OR operation between the final random number and the second initial seed.
[0031] Further, the control of the control parameters for the hash function according to the final random number includes the following process: generating a final random number based on the current control parameters for the hash function; performing a statistical test on the final random number and obtaining the difference in the statistical test results between the final random number and the original random number, and / or performing a security evaluation on the final random number to evaluate the quality of the final random number; when the quality of the final random number does not meet the requirements, adjusting the control parameters for the hash function and repeating the above process.
[0032] Further, the data processing method of the present invention may further include a process of setting an initial value of the control parameter for the hash function according to the quality of the original random number, wherein the quality of the original random number is evaluated by performing at least one of a statistical test, an autocorrelation test, and a quantum entropy test on the original random number. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The following further describes in detail the specific embodiments of the present invention with reference to the drawings.
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0035] Figure 1 Shows the framework schematic diagram of a data processing device based on a controllable quantum noise source and a hash function according to the present invention;
[0036] Figure 2 Shows a preferred example of a data processing device based on a controllable quantum noise source and a hash function according to the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0037] In the following, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. The following embodiments are provided by way of example so as to fully convey the spirit of the present invention to those skilled in the art to which the present invention pertains. Therefore, the present invention is not limited to the embodiments disclosed herein.
[0038] Figure 1-2 The framework schematic diagram of the data processing device based on a controllable quantum noise source and a hash function according to the present invention and its preferred example are respectively shown.
[0039] As Figure 1 shown, the data processing device based on a controllable quantum noise source and a hash function of the present invention may include a quantum noise source module, an amplification and acquisition module, a random number data post-processing module, a cryptographic data post-processing module, and a controller module.
[0040] The quantum noise source module can generate a quantum noise raw signal based on its control parameters. Generally, the quantum noise raw signal is in the form of a quantum noise raw sequence with a high entropy value.
[0041] In the quantum noise source module of the present invention, a quantum noise raw signal can be generated by means of, for example, a vacuum state fluctuation process, an amplified spontaneous emission process, or a laser phase fluctuation process, etc.
[0042] For example, in Figure 2 the preferred example, the quantum noise source module is implemented based on a quantum entropy source of a vacuum state fluctuation process, and its randomness comes from the zero-point energy fluctuation of the vacuum state. Therefore, a quantum shot noise electrical signal containing vacuum state fluctuations can be obtained through homodyne detection of the local oscillator light, thereby generating a quantum noise raw signal.
[0043] The amplification and acquisition module is used to acquire the quantum noise raw signal output by the quantum noise source module and convert it into a raw random number through analog-to-digital conversion.
[0044] For example, in Figure 2 the preferred example, the amplification and acquisition module may include an amplifier and an ADC. Among them, the acquired quantum shot noise (quantum noise raw signal) is amplified by means of the amplifier, and then high-speed ADC sampling conversion is performed by means of the ADC to generate an output raw random number (sequence).
[0045] Due to the existence of classical noise (such as the thermal noise of electronic devices, etc.) and the imperfection of devices, the above-mentioned sampled raw random number (sequence) generally does not satisfy the uniform distribution and has a certain bias and redundancy. Therefore, the present invention provides a random number data post-processing module for performing appropriate data post-processing on the above-mentioned raw random number in order to obtain high-quality quantum random numbers (sequences).
[0046] According to the present invention, the random number data post - processing module can process the original random number (e.g., perform randomness extraction processing) using the first seed to obtain high - quality quantum random numbers, thereby obtaining the first random number.
[0047] As an example, in the random number data post - processing module, the above - mentioned data processing of the original random number can be implemented by means of the Von Neumann method, the logical exclusive - OR method, the m - LSB algorithm, the secure hash algorithm, or the Toeplitz hash algorithm, etc.
[0048] For example, in Figure 2 a preferred example, the random number data post - processing module adopts the Toeplitz hash algorithm, wherein the random number data post - processing module will generate the first random number based on the two input data of the first seed and the original random number, thereby improving the random performance of the quantum random number.
[0049] According to the present invention, the first seed for the random number data post - processing module can be set to be associated with the first random number, thereby allowing convenient real - time update of the first seed.
[0050] For example, in Figure 2 a preferred example, the first seed can be generated by means of the exclusive - OR operation between the first initial seed 1 and the first random number (i.e., random number 1) output by the random number data post - processing module. Among them, the first initial seed 1 preferably comes from the detected quantum random number output by the quantum random number generator or the quantum computer.
[0051] More preferably, the first initial seed 1 can be dynamically updated according to user requirements.
[0052] Continuing to refer to Figure 1 , in the cryptographic data post - processing module of the present invention, the above - mentioned first random number can be used as the input data of the hash function, and the first random number is processed by the hash function to further improve the randomness of the random number, thereby obtaining a more unpredictable final random number.
[0053] In the present invention, the control parameters of the hash function mainly include the seed source (or key), the initial value, the padding value, and the number of iteration rounds, where:
[0054] The seed source (or key) and the first random number are respectively used as the two input data of the hash function, and are used to generate the final random number based on the first random number by means of hash function processing;
[0055] The initial value is used to initialize the state or register of the hash operation;
[0056] When the length of the input data is not an integer multiple of the block length of the hash function, padding is required for the data, and the padding value is the data used during the data padding process, which affects the final hash result. Among them, the padding method can be zero padding or random padding, etc.;
[0057] The number of iteration rounds is used to indicate the number of iterations that the hash function performs during the calculation process. Among them, increasing the number of iteration rounds can improve the security of the hash function, but it will also reduce its calculation efficiency.
[0058] According to the present invention, the seed source (or key) can be set to be associated with the final random number, thereby allowing for convenient implementation of real-time updates.
[0059] For example, in Figure 2 a preferred example, the seed source (or key) can be generated by means of the exclusive OR operation between the second initial seed 2 and the final random number. Among them, the second initial seed 2 preferably comes from the detected quantum random number output by a quantum random number generator or a quantum computer.
[0060] More preferably, the second initial seed 2 can be dynamically updated according to user requirements.
[0061] Different from the prior art, in addition to being responsible for coordinating the operation of the entire system, the controller module of the present invention can also control the control parameters for the hash function in real time according to the quality of the final random number, and control the quantum noise source module in real time according to the quality of the original random number.
[0062] Specifically, in the present invention, the control of the quantum noise source module can include controlling the control parameters of the quantum entropy source to make the quantum entropy source work in the working state with the maximum minimum entropy or the factory-calibrated working state.
[0063] Furthermore, the control of the quantum noise source module can also include adjusting the output rate of the original random number according to the actual application scenario or the data compression ratio of the data post-processing, etc., to meet the output rate requirements for the final random number.
[0064] For example, in Figure 2 a preferred example, the controller module can include a minimum entropy real-time detection unit and a control and status monitoring unit.
[0065] Therefore, in the controller module, the minimum entropy real-time detection unit can perform a minimum entropy detection on the original random number, and the control and status monitoring unit can correspondingly control the control parameters for the quantum noise source module according to the minimum entropy detection result.
[0066] To control the control parameters for the hash function, the control and state monitoring unit can evaluate the quality of the final random number based on the difference between the statistical test results of the final random number and those of its corresponding original random number, and / or the security evaluation result of the final random number, and adjust the control parameters for the hash function in real time when the quality of the final random number does not meet the requirements until the quality of the final random number reaches the requirements.
[0067] In the present invention, the initial values of the respective control parameters can also be preset in the data processing device (such as its storage chip), thereby allowing the controller module to extract the initial values of the control parameters of the quantum noise source module and the hash function during the initialization process of the data processing device.
[0068] To better understand the working principle of the present invention, the data processing method based on the controllable quantum noise source and the hash function of the present invention will be further described below, in which the dynamic adjustment process of the respective control parameters with the aid of the controller module will be described in detail, and the same content can mainly refer to the above description of the data processing device and will not be repeated.
[0069] The data processing method of the present invention can include a quantum noise generation step, a data acquisition step, a random number data post-processing step, a cryptographic data post-processing step, and a control step.
[0070] The quantum noise generation step can be performed, for example, in the quantum noise source module, and is used to generate a quantum noise raw signal based on the control parameters.
[0071] The data acquisition step can be performed, for example, in the amplification and acquisition module, and is used to amplify the quantum noise raw signal and generate an original random number through analog-to-digital conversion.
[0072] The random number data post-processing step can be performed, for example, in the random number data post-processing module, and is used to process the original random number with the first seed to generate a first random number, wherein the first seed is associated with the first random number.
[0073] The cryptographic data post-processing step can be performed, for example, in the cryptographic data post-processing module, and is used to perform a hash function process on the first random number to generate a final random number.
[0074] The control step can be performed, for example, in the controller module, and is used to control the control parameters for the hash function according to the final random number, and / or control the control parameters for the quantum noise source module according to the original random number.
[0075] In the present invention, the quality of the quantum noise source module can be evaluated during the initialization process, an appropriate hash function can be selected according to the application requirements, and, for example, the initial values of the hash function control parameters can be reasonably set according to the quality of the quantum noise source module.
[0076] Evaluating the quality of the quantum noise source module aims to ensure that the generated raw random numbers have good statistical characteristics and quantum entropy.
[0077] Therefore, as a preferred example, the quality of the quantum noise source module (raw random numbers) can be evaluated by performing at least one of statistical tests, autocorrelation tests, and quantum entropy tests on the raw random numbers.
[0078] Specifically, statistical tests are used to perform statistical tests on the raw random numbers, such as frequency tests, block frequency tests, etc.
[0079] The autocorrelation test is used to check whether there is autocorrelation in the raw random numbers.
[0080] The quantum entropy test is used to measure and record the quantum entropy of the raw random numbers.
[0081] Since different hash functions usually have different characteristics and security levels, it is necessary to select a suitable hash function according to the user application requirements, such as SHA-256, SHA-3, etc.
[0082] After determining the hash function, the initial values of the respective control parameters for the hash function can be reasonably set according to the quality and characteristics of the quantum noise source module, for example, according to the evaluation results of the quality of the raw random numbers as described above.
[0083] Specifically, when setting the initial values of the respective control parameters, the following factors can be mainly considered:
[0084] (1) For the seed source (or key), if a key is used, it is necessary to ensure that its length and complexity are sufficient, while if a seed source is used, it is necessary to ensure its randomness and unpredictability.
[0085] (2) For the initial value, it needs to be reasonably set and is usually a random number.
[0086] (3) For the padding value, it needs to meet the input requirements of the hash function.
[0087] (4) For the number of iteration rounds, the number of iterations is positively related to the output randomness and security.
[0088] As an example, if the quantum entropy of the quantum noise source module (raw random numbers) is relatively low, it can be considered to increase the number of iteration rounds to improve the randomness of the final output.
[0089] Based on the above initialization process, after generating the final random number with the initial value of the control parameter, the present invention can also, by means of a test random number generation process, a test random number quality evaluation process, a parameter adjustment process, etc., dynamically adjust and control the control parameter for the hash function according to the quality of the final random number, so as to ensure that the final random number meets the application requirements.
[0090] Specifically, in the test random number generation process, a set of final random numbers can be generated based on the current control parameter for the hash function and used as test random numbers.
[0091] In the test random number quality evaluation process, statistical tests can be performed on the test random numbers (for example, using the same statistical tests as the original random numbers above), and the difference between the statistical test results of the test random numbers and the original random numbers can be obtained. In addition, security evaluations can also be performed on the test random numbers, such as collision resistance, preimage resistance, etc., to obtain their security evaluation results. Thus, the evaluation of the quality of the test random numbers is achieved.
[0092] If the test random number quality evaluation result indicates that the quality of the current test random numbers does not meet the requirements (for example, the randomness of the final random numbers is insufficient or there are security issues), then the control parameter for the hash function can be adjusted in the parameter adjustment process. For example, the number of iteration rounds can be increased to improve randomness and security, or the seed source (or key) can be replaced to enhance the randomness of the input, or the padding method can be adjusted to optimize the processing of the input data, etc.
[0093] After adjusting the control parameter, the above test random number generation process, test random number quality evaluation process, and parameter adjustment process can be repeated until satisfactory quality of the final random numbers is obtained.
[0094] When the quality of the test random numbers meets the requirements, the current control parameter for the hash function can be set as the control parameter for the hash function.
[0095] Preferably, after setting the above control parameter, a comprehensive test and evaluation can be performed again based on this control parameter to ensure that the random numbers output by the hash function meet the application requirements.
[0096] As can be seen from the above, the present invention uniquely proposes a data processing apparatus and method based on a controllable quantum noise source and a hash function with control parameters. Among them, by virtue of the controllability of the quantum noise source and the adjustability of the hash function, not only the security of data processing is improved, but also the flexibility and adaptability of the system are enhanced. For example, by controlling the quality of the quantum noise source, the randomness and unpredictability of the system can be effectively ensured, and by controlling the control parameters of the quantum noise source to keep the quantum entropy of the generated quantum random numbers stable, the stability of the quantum ratio can also be ensured. In particular, by introducing a hash function with control parameters and a dynamic adjustment scheme for its control parameters in data processing, the hash function can not only adopt preset control parameters in the data post-processing process, but also dynamically adjust its control parameters according to actual scenario requirements (such as security requirements), thereby providing a more flexible and customized data processing solution and greatly improving the flexibility of the system while ensuring the security of the system.
[0097] Although the present invention has been described above with reference to specific embodiments in conjunction with the accompanying drawings, it is easy for those skilled in the art to recognize that the above embodiments are merely exemplary and are used to illustrate the principle of the present invention, which will not limit the scope of the present invention. Those skilled in the art can make various combinations, modifications and equivalent replacements of the above embodiments without departing from the spirit and scope of the present invention.
Claims
1. A data processing device based on a controllable quantum noise source and a hash function, comprising a quantum noise source module, an amplification and acquisition module, a post-processing module for random number data, a post-processing module for cryptographic data, and a controller module; The quantum noise source module is configured to generate a quantum noise raw signal based on control parameters; The amplification and acquisition module is configured to convert the quantum noise raw signal into a raw random number; The post-processing module for random number data is configured to process the original random number using a first seed to generate a first random number, where, The first seed is associated with the first random number; The post-processing module for cryptographic data is configured to perform a hash function process on the first random number to generate a final random number; The controller module is configured to control the control parameters for the hash function according to the final random number, and / or control the control parameters for the quantum noise source module according to the raw random number.
2. The data processing device according to claim 1, wherein, The controller module includes a minimum entropy real-time detection unit and a control and status monitoring unit; The minimum entropy real-time detection unit is configured to perform a minimum entropy detection on the raw random number; The control and status monitoring unit is configured to control the control parameters for the quantum noise source module according to the minimum entropy detection result, and / or control the control parameters for the hash function according to the quality of the final random number.
3. The data processing device according to claim 2, wherein, The control and status monitoring unit is further configured to: Evaluate the quality of the final random number based on the difference between the statistical test result of the final random number and the statistical test result of its corresponding raw random number, and / or the security evaluation result of the final random number; And, when the quality of the final random number does not meet the requirements, adjust the control parameters for the hash function.
4. The data processing apparatus according to claim 1, wherein, The quantum noise source module is implemented based on a vacuum state fluctuation process, an amplified spontaneous emission process, or a laser phase fluctuation process.
5. The data processing device according to claim 1, wherein, The first seed is generated by means of an exclusive OR operation between the first random number and the first initial seed; and / or, the control parameters for the hash function include a seed source or a key, which is generated by means of an exclusive OR operation between the final random number and the second initial seed.
6. The data processing device according to claim 5, wherein The first initial seed is a quantum random number and / or can be dynamically updated; and / or, the second initial seed is a quantum random number and / or can be dynamically updated.
7. The data processing apparatus according to claim 1, wherein, The first random number is generated by processing the raw random number with the first seed by means of the Von Neumann algorithm, the logical exclusive OR algorithm, the m-LSB algorithm, the secure hash algorithm, or the Toeplitz hash algorithm.
8. A data processing method based on a controllable quantum noise source and a hash function, comprising a quantum noise generation step, a data acquisition step, a post-processing step for random number data, a post-processing step for cryptographic data, and a control step; The quantum noise generation step is used to generate a quantum noise raw signal based on control parameters; The data acquisition step is used to convert the quantum noise raw signal into a raw random number; The post - processing step of the random number data is used to process the original random number with the first seed to generate a first random number, where, The first seed is associated with the first random number; The post-processing step for cryptographic data is used to perform a hash function process on the first random number to generate a final random number; The control step is used to control the control parameters for the hash function according to the final random number, and / or control the control parameters for the quantum noise generation step according to the raw random number.
9. The data processing method according to claim 8, wherein, In the control step, control parameters for the hash function are controlled according to the quality of the final random number, and / or control parameters for the quantum noise generation step are controlled according to the minimum entropy detection result of the original random number.
10. The data processing method according to claim 8, wherein, Generate a first seed by performing an exclusive OR operation on the first random number and the first initial seed; and / or generate a seed source or key used as a control parameter for the hash function by performing an exclusive OR operation on the final random number and the second initial seed.
11. The data processing method according to claim 8, wherein, The controlling of the control parameters for the hash function according to the final random number includes the following process: Generate a final random number based on the current control parameters for the hash function; Perform a statistical test on the final random number and obtain the difference in the statistical test results between the final random number and the original random number, and / or perform a security evaluation on the final random number to evaluate the quality of the final random number; When the quality of the final random number does not meet the requirements, adjust the control parameters for the hash function and repeat the above process.
12. The data processing method according to claim 11, further comprising a process of setting an initial value of a control parameter for a hash function according to the quality of the original random number, wherein, Evaluate the quality of the original random number by performing at least one of a statistical test, an autocorrelation test, and a quantum entropy test on the original random number.
Citation Information
Patent Citations
Real-time entropy evaluation post-processing quantum random number generation method
CN116405205A
Method and device for protecting quantum random number and quantum security module
CN119011134A