CN100459487C - Chaotic cipher production method under limited precision - Google Patents
Chaotic cipher production method under limited precision Download PDFInfo
- Publication number
- CN100459487C CN100459487C CNB2003101099001A CN200310109900A CN100459487C CN 100459487 C CN100459487 C CN 100459487C CN B2003101099001 A CNB2003101099001 A CN B2003101099001A CN 200310109900 A CN200310109900 A CN 200310109900A CN 100459487 C CN100459487 C CN 100459487C
- Authority
- CN
- China
- Prior art keywords
- chaotic
- output
- rule
- different
- bases
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 230000000739 chaotic effect Effects 0.000 title claims abstract description 83
- 238000004519 manufacturing process Methods 0.000 title 1
- 238000000034 method Methods 0.000 claims abstract description 36
- 238000013507 mapping Methods 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 description 15
- 238000005516 engineering process Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 229910002056 binary alloy Inorganic materials 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 125000004122 cyclic group Chemical group 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 208000001613 Gambling Diseases 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 230000002860 competitive effect Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 238000005183 dynamical system Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000012804 iterative process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
Images
Landscapes
- Complex Calculations (AREA)
Abstract
Description
技术领域 technical field
本发明属于信息安全中的密码产生技术,具体而言是一种有限精度下的混沌密码产生方法,它利用电子计算机技术、信息编码技术和混沌系统在有限精度的条件下采用多种进制的计算技术产生具有优良性质的混沌密码序列。The present invention belongs to the cipher generation technology in information security, specifically a chaotic cipher generation method under limited precision, which utilizes electronic computer technology, information coding technology and chaotic system to adopt multi-ary systems under the condition of limited precision. Computational techniques produce chaotic cipher sequences with excellent properties.
背景技术 Background technique
随着计算机计算速度的不断提高,以及分布处理技术的日益发展,原有的一些加密算法已被破解。目前,国内所采用的加密算法大都是国外将要淘汰的低强度加密算法。由此所带来的不安全因素已成为当前阻碍经济发展和威胁国家安全的一个重要问题。With the continuous improvement of computer computing speed and the development of distributed processing technology, some original encryption algorithms have been cracked. At present, most of the encryption algorithms used in China are low-strength encryption algorithms that will be eliminated abroad. The resulting insecurity has become an important issue that hinders economic development and threatens national security.
最近几年,混沌开始被应用于加密通信领域,混沌是确定性系统中由于内在随机性而产生的外在复杂表现,是一种貌似随机的非随机运动。由于混沌信号具有遍历性、宽带性、类噪声、对初始条件的敏感性、快速衰减的自相关和微弱的互相关性等特点,从而为实现保密通信提供了丰富的机制和方法。In recent years, chaos has begun to be applied in the field of encrypted communication. Chaos is an external complex performance caused by internal randomness in a deterministic system, and it is a seemingly random non-random motion. Due to the characteristics of ergodicity, broadband, noise-like, sensitivity to initial conditions, fast-decaying autocorrelation and weak cross-correlation, chaotic signals provide rich mechanisms and methods for realizing secure communication.
但是,数字混沌序列的生成都是在计算机或其它有限精度的器件上实现的。因此,任何混沌序列生成器都可归结为有限自动机来描述,在这种条件下所生成的数字混沌序列势必会表现出短周期、强相关以及小线性复杂度等特性退化问题,难以设计出满足密码学要求的数字混沌序列。However, the generation of digital chaotic sequences is realized on computers or other devices with limited precision. Therefore, any chaotic sequence generator can be described by a finite automaton. Under this condition, the digital chaotic sequence generated will inevitably show short period, strong correlation and small linear complexity. It is difficult to design A digital chaotic sequence that satisfies the requirements of cryptography.
Li-Hui Zhou等人在文献“A New Idea of Using One-Dimensional PWLMap in Digital Secure Communications-Dual-Resolution Approach”中提出采用提高输入分辨率使其远高于输出分辨率的双分辨率方法来解决在离散混沌系统中由于精度的有限性所带来的上述问题。显然该方法代价是非常大的。In the literature "A New Idea of Using One-Dimensional PWLMap in Digital Secure Communications-Dual-Resolution Approach", Li-Hui Zhou et al. propose to use a dual-resolution method that increases the input resolution to make it much higher than the output resolution. In the discrete chaotic system, the above-mentioned problems are caused by the limitation of precision. Obviously, this method is very costly.
发明内容Contents of the invention
本发明的目的在于克服上述不足之处,提供一种数字混沌密码系统,该系统在不增加计算精度的前提下有效地解决了上述特性退化问题。The object of the present invention is to overcome the above disadvantages and provide a digital chaotic cryptographic system, which effectively solves the above problem of characteristic degradation without increasing the calculation accuracy.
本发明提供的一种有限精度下的混沌密码产生方法,其步骤为:A kind of chaotic password generation method under the limited precision provided by the present invention, its steps are:
(1)初始化:随机产生或设定混沌系统初始值xl[i],i=0;l=1,2,…,n,n为混沌系统的个数,并设定k种不同的进制,并且k≤n;(1) Initialization: Randomly generate or set the initial value x l [i] of the chaotic system, i=0; l=1, 2,..., n, n is the number of chaotic systems, and set k different progress system, and k≤n;
(2)根据输入的xl[i],分别采用设定的k种不同进制中的一种,得到一个对应进制的混沌系统输出xl′[i];(2) According to the input x l [i], adopt one of the k different base systems respectively, and obtain a chaotic system output x l ′[i] corresponding to the base system;
(3)将不同进制的输出xl′[i],统一地转换成设定的同一进制数值xl″[i];(3) Convert the output x l ′[i] of different bases into the set value x l ″[i] of the same base system;
(4)对xl″[i]进行编码得到xl″′[i];(4) Encode x l ″[i] to obtain x l ″′[i];
(5)将n个混沌编码序列xl″′[i]进行置乱后作为密码输出;(5) After scrambling n chaotic coding sequences x l ″'[i], output them as passwords;
(6)判断所产生的密码个数是否达到所需的个数,如果达到,结束;否则,根据设定的排序规则确定xl[i+1]=xl′[i],令i=i+1,跳回到步骤(2)。(6) Judging whether the number of generated passwords reaches the required number, if so, end; otherwise, determine x l [i+1]=x l '[i] according to the set sorting rules, let i= i+1, jump back to step (2).
本发明利用不同进制的低维混沌动力系统进行迭代计算,在不增加精度的情况下增加数字混沌序列的周期,降低数字混沌序列的相关性,增加数字混沌序列的线性复杂度,从而使混沌序列具有良好的性质。由于采用不同的进制,对同一个混沌映射过程中的进位规则也不同,并且导致做舍入处理时的舍入值也不同,由此带来的差异使同一混沌映射在不同进制下的混沌轨道也不相同,这样就可以增加数字混沌序列的周期;由于把k个混沌序列值置乱后输出,增加了线性复杂度;采用k个不同的进制,其进位规则和舍入大小程度都不相同,从而减小了混沌序列的互相关程度。The present invention uses low-dimensional chaotic dynamical systems of different bases to perform iterative calculations, increases the period of the digital chaotic sequence without increasing the accuracy, reduces the correlation of the digital chaotic sequence, and increases the linear complexity of the digital chaotic sequence, thereby making the chaos Sequences have nice properties. Due to the use of different bases, the carry rules in the same chaotic mapping process are also different, and the rounding values are also different when doing rounding processing. The resulting differences make the same chaotic mapping under different bases The chaotic orbits are also different, so that the period of the digital chaotic sequence can be increased; since k chaotic sequence values are scrambled and output, the linear complexity is increased; k different bases are used, the carry rules and rounding size are all different, thus reducing the degree of cross-correlation of chaotic sequences.
附图说明 Description of drawings
图1为本发明的流程图。Fig. 1 is a flowchart of the present invention.
具体实施方式 Detailed ways
本发明采用的技术方案中,无论是步骤(2)的混沌系统、还是步骤(3)中设定的同一进制,以及步骤(4)中设定的编码规则,均只需要加、解密双方事先约定,采用相同的方式处理即可,并不局限于一种特定的方式。步骤(5)所给出的实现方法实质上具有两种含意:既可以对n个混沌编码序列进行排序后列xj″[i]进行重新排序后输出;又可以按原序列直接输出。类似地,步骤(6)所给出的实现方法实质上也具有两种含意:既可以对n个混沌系统的输出xj[i]序列进行重新排序后分别对应的作为其下一输入xl[i+1],此时l与j不一定相等;又可以按原输出xj[i]序列直接反馈给混沌系统作为其下一个的输入xl[i+1],此时l与j相等。In the technical solution adopted by the present invention, no matter it is the chaotic system of step (2), or the same base system set in step (3), and the encoding rule set in step (4), only the encryption and decryption parties are required It can be agreed in advance that the same method can be used, and it is not limited to a specific method. The implementation method given in step (5) has two meanings in essence: it can not only sort the n chaotic coding sequences, but output them after sorting the column x j ″[i]; it can also output them directly according to the original sequence. Similar to Actually, the implementation method given in step (6) has two meanings in essence: the output x j [i] sequences of n chaotic systems can be rearranged and then correspondingly used as the next input x l [ i+1], at this time l and j are not necessarily equal; and the original output x j [i] sequence can be directly fed back to the chaotic system as its next input x l [i+1], at this time l and j are equal .
下面以列举的方式对本发明作进一步详细的说明。The present invention will be described in further detail below by way of enumeration.
实例一Example one
本方法中的混沌映射是使用简单一维logistic迭代The chaotic map in this method is a simple one-dimensional logistic iterative
在计算
但是,为了提高加密强度和迭代周期,本发明在计算出8个不同进制对应的十进制数后,使用“洗牌算法”对8个混沌映射的输出值进行置乱,从而是8个混沌序列的值按照一个非固定的顺序输出。However, in order to improve the encryption strength and iteration cycle, the present invention uses the "shuffling algorithm" to scramble the output values of the 8 chaotic maps after calculating the decimal numbers corresponding to 8 different bases, so that 8 chaotic sequences The values of are output in a non-fixed order.
在此,先介绍洗牌算法:Here, first introduce the shuffling algorithm:
标准纸牌自1872年起源于美国以来,经历了一个多世纪的演变与发展,早已在全球范围内得到非常广泛的普及。它不仅流行于各种民间娱乐活动(包括赌博和占卜)中,而且也已出现在世界性的正式竞技比赛项目——桥牌之中。为了保证这些娱乐活动和比赛的公平与可信,就必须使经过洗牌之后的每张纸牌的排列顺序具有良好的“随机性”。受此启发,本发明提出了对上述码本进行动态修改的“洗牌”算法。Since the standard playing card originated in the United States in 1872, it has experienced more than a century of evolution and development, and has already been widely popularized around the world. It is not only popular in various folk entertainment activities (including gambling and divination), but also has appeared in the world-wide official competitive event-bridge. In order to ensure the fairness and credibility of these recreational activities and competitions, it is necessary to make the sequence of each playing card after shuffling have good "randomness". Inspired by this, the present invention proposes a "shuffling" algorithm for dynamically modifying the codebook.
1.顶牌插中Dcb(q)1. Top card hits D cb (q)
以q为参数,当p≥0,将序列0,1,…7中第1个和第q个码字交换。完成算法Dcb(p.q)后的结果序列为:Taking q as a parameter, when p≥0, exchange the 1st and qth codewords in the sequence 0, 1, ... 7. The result sequence after completing the algorithm D cb (pq) is:
q,…,q-1,0,q+1,,…,7q,...,q-1,0,q+1,,...,7
2.切牌算法Tcb(q)2. Card cutting algorithm T cb (q)
以q为边界将序列0,1,…,q-1,q,q+1,…,7前后交叉。完成算法Tcb(p)后的结果序列为:With q as the boundary, the sequences 0, 1, ..., q-1, q, q+1, ..., 7 are crossed back and forth. The result sequence after completing the algorithm T cb (p) is:
q+1,…,7,0,1,…,q-1,qq+1,...,7,0,1,...,q-1,q
伪随机数发生器采用的规则也是一维logistic迭代:
在该算法中根据伪随机mi决定本次码本变换采用的洗牌算法。当mi≤0的时候使用顶牌插中算法(q=[8*mi],-1<mi<1),否则使用q=1的切牌算法。In this algorithm, the shuffling algorithm adopted for this codebook transformation is determined according to the pseudo-random mi . When m i ≤ 0, use the top card insertion algorithm (q=[8*m i ], -1<m i <1), otherwise use the card cutting algorithm with q=1.
必须指出:为了叙述方便,在此不失一般性地将初始序列设定为按自然顺序排列的序列,即0,1,…,7。显然,对不同的初始序列都可做同样的处理。It must be pointed out that for convenience of description, the initial sequence is set as a sequence arranged in natural order, ie 0, 1, . . . , 7, without loss of generality. Obviously, the same treatment can be done for different initial sequences.
其算法过程如下:The algorithm process is as follows:
(1)随机产生输出控制规则的初始值m0和混沌系统初始值xl[0],(l=1,2,…8),选定8个进制6,7,9,11,12,13,14和15;(1) Randomly generate the initial value m 0 of the output control rule and the initial value x l [0] of the chaotic system, (l=1, 2, ... 8), and select 8 bases 6, 7, 9, 11, 12 , 13, 14 and 15;
(2)xj[i]=xl[i],(j=1,2,…8);(2) x j [i] = x l [i], (j = 1, 2, ... 8);
(3)由xj[i]根据混沌映射
(4)将不同进制的xj[i+1]转换成十进制x′j[i+1](j=1,2,…8);(4) Convert x j [i+1] of different bases into decimal x' j [i+1] (j=1, 2, ... 8);
(5)将x′j[i+1]按照[256*acos(-xj′[i+1])]([]表示向下取整)编码得到xj″[i+1];(5) Encode x′ j [i+1] according to [256*acos(-x j ′[i+1])] ([] indicates rounding down) to obtain x j ″[i+1];
(6)由m[i]根据混沌映射
(7)令xl[i+1]=xj[i+1],l=j,(l,j=1,2,…8),i=i+1,跳回到步骤(2),直到任务结束;(7) Let x l [i+1]=x j [i+1], l=j, (l, j=1, 2,...8), i=i+1, jump back to step (2) , until the end of the task;
采用二进制计算的数字混沌序列周期长度为29,685,894。其他进制的周期见下表:The cycle length of digital chaotic sequence using binary calculation is 29,685,894. See the table below for the periods of other bases:
从上面的数据可以看出:如果只基于计算机或者FPGA芯片中的二进制进行一个混沌映射计算,其周期除了比九进制和11进制大以外,远小于其他进制的周期。From the above data, it can be seen that if a chaotic map calculation is performed only based on the binary in the computer or FPGA chip, its period is much smaller than that of other bases except that it is larger than the nine-base and eleven-base systems.
本方法中采用8个混沌映射,如果这8个混沌映射和伪随机数产生全部采用二进制计算,那么最终输出的数字混沌序列的周期为:29685894和Ta[i](码本变换周期)的最小公倍数。而采用本方法的最终输出的数字混沌序列的周期为:29685894、92219771、89744731、24744402、23354844、161223070、71878812、284595078、544406163和Ta[i]的最小公倍数,这是一个天文数字,远远大于只采用二进制的方法的周期。In this method, 8 chaotic maps are used. If these 8 chaotic maps and pseudo-random numbers are all generated using binary calculations, then the period of the final output digital chaotic sequence is: the minimum of 29685894 and Ta[i] (codebook transformation period) common multiple. The period of the final output digital chaotic sequence using this method is: 29685894, 92219771, 89744731, 24744402, 23354844, 161223070, 71878812, 284595078, 544406163 and the least common multiple of Ta[i], which is an astronomical number, far greater than Use only the period of the binary method.
实例二Example two
还可以采用下面的方法增加数字混沌序列的周期和线性复杂度:采用循环移位的方法将不同进制的迭代值进行交换,然后再进行迭代计算。其算法描述如下:The following method can also be used to increase the period and linear complexity of the digital chaotic sequence: use the method of cyclic shift to exchange the iterative values of different bases, and then perform iterative calculation. Its algorithm is described as follows:
(1)随机产生输出控制规则的初始值m0和混沌系统初始值xl[0],(l=1,2,…8),选定8个进制12、13、14、15、28、29、30和31;(1) Randomly generate the initial value m 0 of the output control rule and the initial value x l [0] of the chaotic system, (l=1, 2, ... 8), and select 8 bases 12, 13, 14, 15, 28 , 29, 30 and 31;
(2)xj[i]=xl[i],j=l+1,(l=1,2,…7),当l=8时,j=1;(2) x j [i]=x l [i], j=l+1, (l=1, 2,...7), when l=8, j=1;
(3)由xj[i]根据混沌映射
(4)将不同进制的xj[i+1]转换成十进制x′j[i+1](j=1,2,…8);(4) Convert x j [i+1] of different bases into decimal x' j [i+1] (j=1, 2, ... 8);
(5)将x′j[i+1]按照[256*acos(-xj′[i+1])]([]表示向下取整)编码得到xj″[i+1];(5) Encode x′ j [i+1] according to [256*acos(-x j ′[i+1])] ([] indicates rounding down) to obtain x j ″[i+1];
(6)伪随机数发生器根据m[i]和分段线性混沌映射:(6) Pseudo-random number generator according to m[i] and piecewise linear chaotic mapping:
产生m[i+1],并根据m[i+1]的正负选择相应的洗牌算法将xj″[i+1]打乱顺序后输出Mξ≡Mξ(i,j)=xj″[i+1](j=1,2,…,n;ξ=1,2,…);Generate m[i+1], and select the corresponding shuffling algorithm according to the positive or negative of m[i+1] to output M ξ ≡ M ξ ( i, j)= x j "[i+1] (j=1, 2,..., n; ξ=1, 2,...);
(7)令xl[i+1]=xj[i+1],l=j,(l,j=1,2,…8),i=i+1,跳回到步骤(2),直到任务结束;(7) Let x l [i+1]=x j [i+1], l=j, (l, j=1, 2,...8), i=i+1, jump back to step (2) , until the end of the task;
对第(2)步的说明:在i时刻8个进制的迭代输出值分别为x1[i]、x2[i]……x8[i],实例一中i+1时刻,8个不同进制在i+1时刻的混沌迭代输入值分别为:x1[i]、x2[i]……x8[i],即xj[i+1]=xj[i](j=1,2,…8),在实例二中i+1时刻,8个不同进制的混沌迭代的输入值不再为:xi[1]、xi[2]……xi[8],而是xj[i+1]=xl[i],j=(l+1)mod 8+1,(j,l=1,2…8)。其中循环移位只是其中的一种方法,还可以采用其他的交换方式。Explanation for step (2): at time i, the iterative output values of 8 bases are x 1 [i], x 2 [i]... x 8 [i], at time i+1 in Example 1, 8 The chaotic iteration input values of different bases at time i+1 are: x 1 [i], x 2 [i]...x 8 [i], that is, x j [i+1]=x j [i] (j=1, 2,...8), at the time i+1 in Example 2, the input values of 8 chaotic iterations of different bases are no longer: x i [1], x i [2]... x i [8], but xj [i+1]= xl [i], j=(l+1) mod 8+1, (j,l=1, 2...8). The cyclic shift is only one of the methods, and other exchange methods can also be used.
实例三Example three
由于现有的微处理器和硬件算术单位都是基于二进制计算的,所以在实例一中实现M进制数字混沌映射的时候必须采用FPGA技术实现M进制的算术运算,其中乘法器的设计需要大量的硬件资源。而现有的基于二进制的硬件乘法器,在设计方法上相当成熟,在算法上相当优化。如果能够将现有的基于二进制的硬件乘法器和M进制运算结合起来,那么就能在降低设计难度的同时减少硬件资源。Since the existing microprocessors and hardware arithmetic units are based on binary calculations, FPGA technology must be used to implement M-ary arithmetic operations when implementing M-ary digital chaotic mapping in Example 1. The design of the multiplier requires Lots of hardware resources. However, the existing binary-based hardware multipliers are quite mature in design method and quite optimized in algorithm. If the existing binary-based hardware multiplier and M-ary operation can be combined, then hardware resources can be reduced while reducing design difficulty.
所以可以在计算混沌映射采用二进制计算,然后将得到的结果xk+1转换为M进制数x′k+1,然后再将M进制数x′k+1转换为二进制x″k+1。Therefore, binary calculation can be used in the calculation of the chaotic map, and then the obtained result x k+1 is converted into an M-ary number x′ k+1 , and then the M-ary number x′ k+1 is converted into a binary x″ k+ 1 .
因为N进制的进位规则和二进制是不同的,导致进行舍入处理时的舍入精度和二进制也是不同的,所以在有限精度的前提下x′k+1≠x″k+1,而xk+1-x″k+1可以看出是一种随机扰动。这种改进同样在不提高数字化混沌映射数值精度的情况下增加了序列的周期。最后再将产生的8个混沌迭代值置乱后依次输出,可以增加混沌序列的线性复杂度和降低混沌序列的相关性。Because the carry rule of the N-ary system is different from the binary system, the rounding precision and the binary system are also different during the rounding process, so under the premise of limited precision, x′ k+1 ≠ x″ k+1 , and x It can be seen that k+1 -x″ k+1 is a random disturbance. This improvement also increases the period of the sequence without increasing the numerical accuracy of the digitized chaos map. Finally, the 8 chaotic iterative values generated are scrambled and output sequentially, which can increase the linear complexity of the chaotic sequence and reduce the correlation of the chaotic sequence.
其算法描述如下:Its algorithm is described as follows:
(1)随机产生输出控制规则的初始值m0和混沌系统初始值xl[0],(l=1,2,…8),选定8个进制60、61、62、63、124、125、126和127;(1) Randomly generate the initial value m 0 of the output control rule and the initial value x l [0] of the chaotic system, (l=1, 2, ... 8), and select 8 bases 60, 61, 62, 63, 124 , 125, 126 and 127;
(2)xj[i]=xl[i],(j=1,2,…8);(2) x j [i] = x l [i], (j = 1, 2, ... 8);
(3)由xj[i]根据分段线性混沌映射:(3) According to piecewise linear chaotic mapping by x j [i]:
采用二进制计算产生混沌映射输出xj[i+1](j=1,2,…8),再将xj[i+1]分别转换为对应的进制xj k[j][i+1],(j=1,2,…8),k[1],k[2],…k[8]依次为步骤(1)中选定的8个进制,再将xj k[j][i+1]分别转换为对应的xj[i+1];Use binary calculation to generate chaotic map output x j [i+1] (j=1, 2, ... 8), and then convert x j [i+1] into corresponding base x j k[j] [i+ 1], (j=1, 2,...8), k[1], k[2],...k[8] are the 8 bases selected in step (1) in turn, and then x j k[ j] [i+1] is converted to the corresponding x j [i+1] respectively;
(4)将不同进制的xj[i+1]转换成十进制x′j[i+1](j=1,2,…8);(4) Convert x j [i+1] of different bases into decimal x' j [i+1] (j=1, 2, ... 8);
(5)将x′j[i+1]按照[256*acos(-xj′[i+1])]([]表示向下取整)编码得到xj″[i+1];(5) Encode x′ j [i+1] according to [256*acos(-x j ′[i+1])] ([] indicates rounding down) to obtain x j ″[i+1];
(6)伪随机数发生器根据m[i]和
(7)令xl[i+1]=xj[i+1],l=j,(l,j=1,2,…8),i=i+1,跳回到步骤(2),直到任务结束;(7) Let x l [i+1]=x j [i+1], l=j, (l, j=1, 2,...8), i=i+1, jump back to step (2) , until the end of the task;
需要进一步说明如下二点:The following two points need to be further clarified:
(1)在本方法的具体实现的过程中选用混沌映射
(2)在本方法中的每个具体实现中都采用了8个具体的进制,实际上对于任意进制都可以采用。但是对于混沌迭代式,有些进制的混沌性质有所退化,所以建议不采用这些进制。(2) In each specific realization of the method, 8 specific bases are adopted, and in fact, any base can be used. However, for the chaotic iterative formula, the chaotic properties of some bases are degraded, so it is recommended not to use these bases.
实例四Example four
还可以采用下面的方法增加数字混沌序列的周期和线性复杂度:采用洗牌的方法将不同进制的迭代值进行交换,然后再进行迭代计算,其算法描述如下:The following method can also be used to increase the period and linear complexity of the digital chaotic sequence: use the shuffling method to exchange the iterative values of different bases, and then perform iterative calculations. The algorithm is described as follows:
(1)随机产生输出控制规则的初始值m0和混沌系统初始值xl[0],(l=1,2,…8),选定8个进制12、13、14、15、28、29、30和31;(1) Randomly generate the initial value m 0 of the output control rule and the initial value x l [0] of the chaotic system, (l=1, 2, ... 8), and select 8 bases 12, 13, 14, 15, 28 , 29, 30 and 31;
(2)由xl[i]根据分段线性混沌映射:(2) by x l [i] according to piecewise linear chaotic mapping:
采用二进制计算产生混沌映射输出xj[i](j=1,2,…8)Use binary calculation to generate chaotic map output x j [i] (j = 1, 2, ... 8)
(3)将不同进制的xj[i]转换成十进制x′j[i](j=1,2,…8);(3) Convert x j [i] of different bases into decimal x' j [i] (j=1, 2, ... 8);
(4)将x′j[i]按照[256*acos(-xj′[i])]([]表示向下取整)编码得到xj″[i];(4) Encode x′ j [i] according to [256*acos(-x j ′[i])] ([] indicates rounding down) to obtain x j ″[i];
(5)将xj″[i]顺序输出;(5) output x j ″[i] sequentially;
(6)伪随机数发生器根据m[i]和分段线性混沌映射:(6) Pseudo-random number generator according to m[i] and piecewise linear chaotic mapping:
产生m[i+1],并根据m[i+1]的正负选择相应的洗牌算法将xj[i]打乱顺序后对xl[i+1]赋值:xl[i+1]=xj[i],j为洗牌算法前的码本地址,l为洗牌算法后的码本地址;Generate m[i+1], and select the corresponding shuffling algorithm according to the positive or negative of m[i+1], and then assign x l [i+1] to x l [i+1] after shuffling the order of x j [i]: x l [i+ 1]=x j [i], j is the codebook address before the shuffling algorithm, and l is the codebook address after the shuffling algorithm;
(7)i=i+1,跳回到步骤(2),直到任务结束。(7) i=i+1, jump back to step (2), until the end of the task.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2003101099001A CN100459487C (en) | 2003-12-31 | 2003-12-31 | Chaotic cipher production method under limited precision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2003101099001A CN100459487C (en) | 2003-12-31 | 2003-12-31 | Chaotic cipher production method under limited precision |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1556602A CN1556602A (en) | 2004-12-22 |
CN100459487C true CN100459487C (en) | 2009-02-04 |
Family
ID=34335435
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2003101099001A Expired - Fee Related CN100459487C (en) | 2003-12-31 | 2003-12-31 | Chaotic cipher production method under limited precision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100459487C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107800531A (en) * | 2017-12-13 | 2018-03-13 | 广西师范大学 | A kind of method in the cycle of chaos system under table analysis finite accuracy using Hash |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1697366B (en) * | 2005-01-18 | 2010-04-28 | 重庆大学 | Controllable natural number chaotic cipher sequence generation method and digital chip core |
CN101394266B (en) * | 2008-10-24 | 2010-12-08 | 华中科技大学 | A method for generating chaotic signals with variable parameters and a chaotic secure communication system |
CN101436928B (en) * | 2008-12-09 | 2011-01-26 | 华中科技大学 | A Parameter Estimation Method for Chaotic Systems |
CN105407085B (en) * | 2015-10-26 | 2018-04-06 | 武汉帕菲利尔信息科技有限公司 | The method and device of user name password is generated according to patient user's information |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6212239B1 (en) * | 1998-01-09 | 2001-04-03 | Scott T. Hayes | Chaotic dynamics based apparatus and method for tracking through dropouts in symbolic dynamics digital communication signals |
CN1359211A (en) * | 2002-01-10 | 2002-07-17 | 张红雨 | Chaotic encipher series generator |
US20030067336A1 (en) * | 2001-10-05 | 2003-04-10 | Cruz-Albrecht Jose M. | Method and apparatus to generate pseudo-random non-periodic digital sequences |
-
2003
- 2003-12-31 CN CNB2003101099001A patent/CN100459487C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6212239B1 (en) * | 1998-01-09 | 2001-04-03 | Scott T. Hayes | Chaotic dynamics based apparatus and method for tracking through dropouts in symbolic dynamics digital communication signals |
US20030067336A1 (en) * | 2001-10-05 | 2003-04-10 | Cruz-Albrecht Jose M. | Method and apparatus to generate pseudo-random non-periodic digital sequences |
CN1359211A (en) * | 2002-01-10 | 2002-07-17 | 张红雨 | Chaotic encipher series generator |
Non-Patent Citations (2)
Title |
---|
一种新的混沌序列生成方式. 张巍,胡汉平,李德华.华中科技大学学报,第29卷第11期. 2001 * |
一类混沌流密码的分析. 李树钧,牟轩沁,纪震,张基宏.电子与信息学报,第25卷第4期. 2003 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107800531A (en) * | 2017-12-13 | 2018-03-13 | 广西师范大学 | A kind of method in the cycle of chaos system under table analysis finite accuracy using Hash |
Also Published As
Publication number | Publication date |
---|---|
CN1556602A (en) | 2004-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101394266B (en) | A method for generating chaotic signals with variable parameters and a chaotic secure communication system | |
CN112019347B (en) | Lightweight security authentication method based on XOR-APUF | |
US20030072443A1 (en) | Method for generating secure elliptic curves using an arithmetic-geometric mean iteration | |
CN112202545B (en) | Image encryption method based on Y-shaped filling curve and variable step size Joseph traversal | |
CN101222318A (en) | Chaotic sequence generation method and sequence generator for high-speed and high-precision chaotic functions | |
CN107733655B (en) | A APUF security authentication method based on polynomial reconstruction | |
AU2020202883B1 (en) | Systems and computer-implemented methods for generating pseudo random numbers | |
CN103684761A (en) | Coding and decoding method | |
CN106651735A (en) | Chaos theory-based digital image parallel encryption method | |
CN106712965A (en) | Digital signature method, device and cipher device | |
CN103399726A (en) | Streamlined combined-type pseudo-random number generator | |
CN113129196A (en) | Image encryption method based on DNA sequence and memristor chaos | |
CN106570814B (en) | Hyperchaotic image encryption method | |
Chen et al. | A novel image encryption scheme based on PWLCM and standard map | |
CN112491543B (en) | IC card decryption method based on improved Montgomery modular exponentiation circuit | |
CN1286077C (en) | Data encipher and decipher system based on dynamic variable-length code | |
CN107147486A (en) | A kind of platform data encryption method and device based on dynamic variable length code | |
CN100459487C (en) | Chaotic cipher production method under limited precision | |
Zou et al. | Image encryption based on hyperchaotic system and improved zigzag diffusion method | |
CN103716149A (en) | High-speed random number generating system based on chaos network | |
CN104579693B (en) | Based on the high order second order logistic embedded encryption methods mapped and device | |
Chen et al. | An improved image encryption algorithm based on chaos | |
Lui et al. | A pseudo-random number generator employing multiple Renyi maps | |
CN113938267B (en) | A construction method of high-dimensional chaotic pseudo-random sequence generator based on periodic ring monitoring mechanism | |
Pekereng et al. | Square transposition: an approach to the transposition process in block cipher |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090204 Termination date: 20100201 |