Abstract
A new and improved method based on the number of iterations is proposed to reduce the dynamical degradation of the digital chaotic map in this study. We construct a control function by introducing iteration time instead of external systems, thereby replacing the control parameters in the original chaotic map. Experimental results show that the chaotic map based on the iteration-time combination method is more complicated and effective. The period is extended without completely destroying the phase space, which indicates that our method is effective and can compete with other proposed techniques. A type of pseudorandom bit generator based on the iteration-time combination method is proposed to demonstrate its simple application.
1. Introduction
Chaos is a deterministic, pseudorandom process that appears in nonlinear dynamical systems. The irregularity of the process, sensitivity to the initial state, and good ergodicity of the range make this phenomenon compatible with modern cryptography, which requires the principle of confusion and diffusion.
However, due to the accuracy limitations of devices, most chaotic maps cannot reach their ideal state [1]. Thus, dynamic degradation occurs where a chaotic system falls into a loop in a limited phase space, which decreases the dynamic performance of the chaotic system and not meet the demand in many cases.
Many methods have been proposed for the phenomenon of dynamic degradation. These methods can be mainly divided into two categories. The first category does not need to introduce an external system [2, 3], and the second category needs to introduce an external system [4–15]. A detailed classification of the currently popular methods can be divided into the following five types. (1) The simplest approach is to use a high-precision equipment [3] because the original problem is caused by precision limitation. The phase state will increase with the improvement of precision. However, using the high-precision device can only extend the average period length of all pseudotracks but not the period length of each pseudotrack [16]. (2) Some methods extend the period of digital chaotic maps by cascading multiple chaotic maps [6, 7, 12]. The method can avoid the chaotic system entering the loop prematurely. However, it is difficult to control the dynamic complexity of cascading multiple chaotic systems. (3) Several methods by switching multiple chaotic maps [8, 9] among different dynamic systems on the basis of the specified switching policy. For example, if a sequential switching strategy is adopted, then the first dynamic system is iterated once, as well as the second dynamic system. Subsequently, the strategy goes back to the first one and then loops, which can extend the cycle effectively. Therefore, setting appropriate switching rules is important in this case. (4) Some methods introduce a pseudorandom perturbation source [5, 10–13] to improve dynamical degradation. In [5], specifying the lower limit of the length of the extended period and maintaining the original good statistical properties of chaotic dynamics were theoretically possible. This scenario will inevitably increase the implementation cost to a certain extent. In this method, the external pseudorandom perturbation source will determine the random performance of the chaotic map. (5) The analog–digital mixed control method [14, 15] can also be effectively used to improve the dynamic degradation of chaotic maps by hybrid control of analogy chaotic systems and digital chaotic maps. However, in this approach, the phase space will be absolutely destroyed. The type of system cannot be regarded as a digital chaotic system. In addition to the method of utilizing high precision, another new method that does not require the introduction of an external system is the delay-introducing method [2]. This method improves the dynamic degradation by introducing the last iteration state. However, although a certain effect on improving dynamic degradation was achieved [2], the method remains limited and requires further improvement.
Therefore, in this study, we propose a new approach to improve dynamic degradation by introducing iteration times. In our model, we use a function that combines the number of iterations to replace the control parameters in the original digital chaotic map. Therefore, the control parameters are in a state of constant change, such that the chaotic system will not easily fall into a loop, and dynamic degradation phenomenon will not appear. Different from many other techniques [9, 16], our proposed method does not destroy the phase space of the original chaotic map while improving the dynamic degradation phenomenon. Thus, it is sufficiently competitive against other methods. The uppermost advantages of our proposed method are as follows:(i)The method is simple to implement without introducing other external systems. It only introduces the iteration times, which are constantly changing. Thus, the method improves the dynamic degradation phenomenon while controlling the cost.(ii)The method is universal and can be flexibly applied to various chaotic maps.(iii)The method has been proven effective in improving dynamic degradation.
The remainder of this paper is organized as follows. Section 2 provides a preliminary introduction to the proposed approach. In Sections 3 and 4, we combine our proposed method with the one-dimensional logistic map and two-dimensional baker map, respectively, to compare our methods with the original digital maps. Then, the effectiveness of our method is evaluated through numerous experimental results. A pseudorandom bit generator (PRBG) based on our proposed method is presented in Section 5. Finally, Section 6 summarizes the study.
2. Iteration-Time Combination Method
A chaotic map, which is implemented on precision limited equipment, can be expressed as follows:where is the state variable after times of iteration, and is the control parameter of map when a; hence, map will be chaotic. denotes the precision function, and is the current precision. So, means that when implemented on a computing device with precision , the output of the chaotic system will be limited to a set of 2p elements. Given the limited precision of the computer, the number of bits it can represent is certain. Thus, the phase space is finite, which leads to the chaotic map finally falling into the loop with the fixed control parameters. Specifically, is bound to happen after a couple of iteration times. At this time, if other parameters still remain unchanged, then the chaotic system will fall into the loop, and the period length is .
To improve the situation, we propose the iteration-time combination method to make the control parameter change continuously as follows:where is the control parameter function, and is the number of iterations. The iteration-time combination method replaces the original control parameter with a control parameter function . The range of should be a subset of α (the range of ) to ensure that the mapping is still chaotic. Therefore, is jointly determined by and . As the iteration continues, the number of iterations increases, that is, continuously changes, so that the value of the control parameter function constantly changes, thereupon, when but , and . At this time, the chaotic system will not fall into a cycle, and the period will be extended. The number of iterations does not require additional computing resources, thereby resulting in a considerable cost reduction.
On the basis of different chaotic maps, we can construct different functions as follows:where is a function related to ; ; and parameters and are used to adjust the range of .
The function is not fixed and can be flexibly changed as required, under the premise of meeting the relevant evaluation indicators. It can be a linear or nonlinear function about . We recommend that simple functions should be constructed as much as possible to reduce implementation costs. The output of is used as the input to the sine trigonometric function. The range of the trigonometric function is , and the range of must satisfy the corresponding conditions on the basis of different chaotic maps to keep the chaotic state. Thus, the absolute value which belongs to is taken to adjust the range easily. Then, parameters and are adjusted in accordance with the requirements of the specific chaotic system on control parameters.
In the proposed model, we only modify the control parameters of the chaotic system, whereas the control parameters still meet the original range requirements. Hence, the phase space will not be destroyed. Thus, the method can be regarded as a remedy, instead of generating a new random source. Control parameters also exist in each chaotic system. Thus, our proposed method can be used universally.
The one-dimensional logistic chaotic map and the two-dimensional baker chaotic map will be introduced in the following sections.
3. Example 1: Logistic Map
The logistic map on precision limited equipment is defined aswhere is the control parameter, and to make sure that the map is chaotic. In this section, for the sake of improving dynamical degradation efficiently, we construct to illustrate the practicality of this iteration-time combination method. Thus, our model is defined aswhere b is an adjustment parameter, and since the range of is , so . Thus, the iteration-time combined logistic map can be expressed as
Next, we verify the efficiency of our method by comparing relevant features with the original logistic map and other improved methods.
3.1. Trajectories and Phase Diagrams
The same parameters should be used for clear and accurate comparison. We set the precision to be 2−16, and the initial values are randomly selected as , , and . We performed experiments on different sets of initial values. The experimental results are similar, so we randomly select the results of one set of initial values as a representative. Figures 1(a) and 1(b) show the trajectories of the original digital logistic map and the digital logistic map of the proposed method, respectively. Figure 1(a) shows that the original digital logistic map falls into a loop quickly, and its cycle length is 58. By contrast, Figure 1(b) is still random. Thus, the iteration-time combined digital logistic method can effectively change the phenomenon of falling into the cycle.

(a)

(b)
The original digital logistic map has a limited range of values due to the trapped period, and its phase diagram is an intermittent curve, as shown in Figure 2(a). However, the points on the phase diagram of the iteration-time combined digital logistic map are denser (Figure 2(b)). The following comparison shows that the improved chaotic map does not change the phase space of the original chaotic map but is supplemented on the basis of the original phase space to expand its range.

(a)

(b)
3.2. Auto-Correlation Analysis
The auto-correlation function is one of the important metrics in assessing whether a sequence is random and independent. For a qualified random sequence, the auto-correlation function should be a delta function. When the precision is still set as 2−16, the images of the auto-correlation function of the original digital logistic map and the iteration-time combined digital logistic map are shown in Figures 3(a) and 3(b), respectively. It can be seen from Figure 3(a) that as the time interval increases, the auto-correlation of the sequence does not immediately approach zero but will have obvious sidelobes; hence, the sequence generated by the original digital logistic map has a certain correlation. While the image shown in Figure 3(b) is highly delta-like, which indicates that the sequence has weak autocorrelation. This shows that the iteration-time combined digital logistic map has a better chaotic property to some extent.

(a)

(b)
3.3. Period Analysis
Period analysis is an essential factor wherein the sequence generated by the digital chaotic map falls into the cycle faster than the ideal. Therefore, analysing the periodicity of the sequence is necessary. The initial value and the value of the control parameter remain the same as before. Table 1 details the comparison results when the precision is the same. Contrast whether the sequence generated by the original chaotic map and the improved chaotic map have a period and its length. The iteration-time combined digital logistic map changes the dynamic degradation of the chaotic system due to the limited accuracy of the device. Hence, it cannot detect the period when the precision is larger than 2−12. However, in [4], the precision needs to be as large as 2−18. Thus, our method is superior to that presented in the previous study in the case of cycle improvement.
3.4. Complexity Analysis
3.4.1. Approximate Entropy (ApEn) Analysis
ApEn is a nonlinear kinetic parameter of the complexity and statistical quantification of a metric sequence proposed by Pincus in 1991 [17]. The larger the ApEn is, the lower the self-similarity of the sequence will be, and the sequence will be more complex. Conversely, the sequence self-similarity will be higher. ApEn is weakly dependent on the sequence length. Only a short amount of data is required to obtain a robust entropy value. In this section, we calculate the values of the two mappings at various precisions separately. The ApEn has considerably increased, as shown in Figure 4. The value obtained by the iteration-time combined digital logistic map is always above the value of the original digital logistic map. This result shows that our approach can also increase the complexity of the digital logistic map. Furthermore, the ApEn of our method is also slightly higher than that of [4], which is an improved method by bi-coupling digital chaotic maps that needs to introduce an external system.

3.4.2. Permutation Entropy (PE) Analysis
PE is a method for entropy calculation based on the permutation model, which is mainly used to analyse the characteristics of nonlinear chaotic systems. Similar to ApEn, PE is another important factor used to evaluate the dynamical characteristics of a chaotic sequence. In comparison with other analysis methods, its calculation process is simpler, of strong antinoise ability, and only needs a shorter sequence to estimate a more stable system eigenvalue.
On the basis of equations (4) and (6), the PE results are obtained, as shown in Figure 5. The yellow line is always above the blue line when at the same precision. Thus, the PE of the sequence generated by equation (6) is larger than equation (4). Therefore, the iteration-time combined digital logistic method has a better complex performance that the original method.

4. Example 2: Baker Map
We also test and analyse the two-dimensional baker map, which is another popular chaotic map, to further illustrate the effectiveness of the proposed method of introducing iteration times.
The baker map on precision limited equipment can be expressed as follows:where is the control parameter in the interval of to generate a chaotic map. Following equation (3), we attempt to represent the control parameters as functions related to the number of iterations. In this test, we define as follows:
Thus,where is the adjustment parameter. Thus, the iteration-time combined digital baker map can be expressed as in the following equation.
Experiments are performed according to the above formula, and the control parameters in the improved digital baker map are completely random. Due to the special nature of the Baker map itself, here, avoiding the situation that the chaotic map falls into a certain point and cannot jump out on account of that the control parameters tend to zero (a ⟶ 0) is necessary. Hence, we need to add a step to the algorithm to prevent such situation. We add the judgment step, the pseudocode of which is shown as follows:
When the control parameter function , that is, , the judgment condition is true. Replace with another expression. can be replaced by many other expressions, and we set in this study. In a word, the most important thing is to avoid making the control parameter . indicates the absolute value function.
Similarly, we perform an experiment as the iteration-time combined digital logistic map in Section 3 to assess the performance of the improved digital baker map. The results of the y-dimensional variables are basically consistent with the results of the x-dimensional variables. Thus, we only demonstrate the results of the x-dimensional variables. We set , , , and . First, we set the precision to be 2−12. Figure 6(a) shows that the original digital baker map quickly enters the cycle after approximately 220 iterations. However, Figure 6(b) is still in a random state. Figure 7 shows the phase diagrams of the digital baker map and the digital iteration-time combined baker map after iterating the same number of times. The phase space of the two digital baker maps is distributed in the space . The points of the phase space in Figure 7(b) are significantly denser. Thus, the proposed method can effectively extend the cycle and improve the dynamic degradation phenomenon.

(a)

(b)

(a)

(b)
According to equations (7) and (10), we perform an auto-correlation analysis on the obtained x-dimensional sequences to obtain a comparison result, as shown in Figure 8. The sequence generated by our method is an ideal delta function. Nevertheless, the sequence generated by equation (7) cannot be regarded as random on the basis of Figure 8(a). This result further proves the superiority of the iteration-time combination method.

(a)

(b)
The period of the original digital baker map and the improved digital iteration-time combined baker map at various precisions is statistically analysed, as shown in Table 2. In the test data, the original baker map can always detect cycles; however, the sequences generated by our method cannot detect the period under the same precision. The effectiveness of our approach for improving the dynamic degradation is demonstrated.
Finally, we evaluate the complexity of the sequence. Figures 9 and 10 show the results for ApEn and PE of different maps at various precisions. The ApEn of the original digital baker map is the lowest (Figure 9). The iteration-time combined digital baker map and coupled baker map in [4] are considerably higher than the original one, whereas the iteration-time combined digital baker map is slightly better. The PE of the original digital baker map is lower when the precision is lower, whereas the PE of the iteration-time combined digital baker map always maintains a satisfactory result (Figure 10). On this basis, the complexity of the iteration-time combination method is acceptable and outstanding.


In addition, in order to ensure the authenticity of the experiments, we used different sets of initial values to evaluate the experiments. The experimental results are similar to the above, so we will not repeat them here.
5. PRBG Based on the Iteration-Time Combined Digital Chaotic Map
5.1. PRBG
Pseudorandom sequence is the sequence that can be predetermined and can be repeatedly produced and replicated but has the random nature of a random sequence (i.e., statistical properties). Consequently, scientists have proposed many PRBGs. Given the excellent performance of chaotic systems in cryptography, quite a few PRBGs are based on chaotic systems [18–21]. In this section, a type of pseudorandom bit generator based on the iteration-time combined digital baker method is proposed, as shown in equation (10).
The proposed PRBG can be represented aswhere denotes the round-down function, and only the integer part is reserved. We use the method of integer remainder quantization. First, we generate a series of random numbers on the basis of the two-dimensional digital baker map. Next, the iteratively generated number that belongs to is converted to a number between , which is then converted to an 8-bit binary number. The specific process is shown in Figure 11.

A series of qualified pseudorandom sequences should be able to pass various statistical tests that evaluate the randomness of the sequence. We adopt the NIST statistical test, key space analysis, key sensitivity analysis, and linear complexity analysis. The values for the experiment are set as follows: , , and , and the precision is set as 2−12.
5.2. Statistical Tests
To prove that the pseudorandom number generator generated by the proposed method is secure and reliable, it must be statistically tested. At present, the most popular statistical tests for PRBG are as follows: (1) NIST suite of statistical tests [22, 23], (2) Donald Knuth’s statistical tests [24], (3) Crypt-XS suite of statistical tests [25], and (4) DIEHARD suite of statistical tests [26]. These test suites can explain the randomness of the sequence to some extent. Among them, the NIST statistical test suite contains various independent statistical tests, which can be relatively comprehensive in statistical analysis. Thus, in this study, we select the NIST statistical test suite.
5.2.1. NIST Statistical Tests
The NIST statistical test includes 16 test methods. These test methods can be used to detect the randomness of arbitrary long binary sequences generated by a pseudorandom number generator. They are dedicated to determine the variety of nonrandomness that may exist in a sequence. The test results are shown in Table 3. All values are larger than 0.01; thus, the sequence is accepted as random. This finding indicates that the pseudorandom sequence generated by our proposed method has passed the NIST statistical test. Thus, the bit sequence has a good stochastic performance.
5.3. Security Test
5.3.1. Key Space
Brute force cracking is the most common and difficult attack method. At present, when the key space is larger than 2128, the security of the password can be guaranteed. In our method, the control parameters and and the initial values of and can be used as a joint secret key. The largest precision is set to be 10−14. Given that and , the key space is approximately 2190, which is considerably larger than the standard 2128, and thus prove that it can resist brute force cracking. Furthermore, in comparison with other methods, the proposed method is larger than 2184 in [4] and 2146 (9.7 × 1042) in [27].
5.3.2. Key Sensitivity
Key sensitivity is an important indicator of evaluation. The PRBG key must be sufficiently sensitive to resist differential attacks. When the key changes slightly, the generated sequence should be different. To test key sensitivity, we change 1 bit in the key to generate a new sequence. As we know, variance is a measure of the difference between two sets of data. Therefore, the degree of difference between the two sequences can be compared by calculating the variance ratio of the two sequences. And conducted multiple experiments. The results in Table 4 show that the variance ratio in each case is close to 50%. Thus, the method shows good key sensitivity and can resist differential attacks effectively.
5.3.3. Linear Complexity
Linear complexity plays an important role as an evaluation criterion for the complexity of random sequences. The number of stages of the shortest linear feedback shift register (LFSR) that generates this sequence is the definition of the linear complexity of a binary sequence. Set is a binary sequence with a period of 2n. Then, the linear complexity of is defined as the smallest positive integer satisfying formulas (4) (2), and for are satisfied:where = 1, and .
Mathematically, the polynomial is called the characteristic polynomial that generates this sequence, that is, the feedback polynomial of the shortest linear feedback shifter (LFSR). Among all the feedback polynomials of the sequence , the first polynomial with the smallest degree is called the smallest polynomial of the sequence . The linear complexity of the sequence s is usually defined as the smallest polynomial , expressed as . A detailed algorithm can be seen in [28].
The linear complexity should be as a qualified random sequence. Figure 12 shows that the linear complexity of the random sequence generated by our proposed method is always maintained at approximately , which indicates good randomness and complexity of our proposed method.

6. Conclusions
In this study, a general method is proposed to improve the dynamic degradation phenomenon of chaotic maps on finite precision devices. In our approach, we introduce the number of iterations to replace the control parameters in the original chaotic map. We combine this number of iterations with the trigonometric function, such that the control parameter functions satisfy the range requirements of the chaotic map. Compared with the delay-introducing method in [2], the improvement effect of the iteration-time combination method in this paper is significantly improved; compared with the bi-coupling method in [4], the improved method is simpler to implement, does not need to introduce external systems, and is of high efficiency. Experimental tests on one- and two-dimensional chaotic maps demonstrate that our proposed method can greatly improve the dynamic degradation phenomenon without introducing other systems. The proposed method is simple and efficient. Finally, we propose a type of PRBG based on the iteration-time combined baker map with finite precision. Through the experiments, all indicators show that the sequences generated according to our method have good statistical properties and security features.
Data Availability
The data used to support the findings of this study are available from the corresponding author upon request.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
Acknowledgments
This work was supported by the National Natural Science Foundation of China (61862042).