기본 정보
- 저자
- DOI
- 10.48550/arxiv.1304.2612
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.1304.2612
- 토픽
- Fiber-reinforced polymer composites
- OpenAlex ID
- W6929132484
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
This paper presents a novel efficient chaotic image encryption scheme, in which the temp-value feedback mechanism is introduced to the permutation and diffusion procedures. Firstly, a simple trick is played to map the plain-image pixels to the initial condition of the Logistic map. Then, a pseudorandom number sequence (PRNS) is obtained from iterating the map. The permutation procedure is carried out by a permutation sequence which is generated by comparing the PRNS and its sorted version. The diffusion procedure is composed of two reversely executed rounds. During each round, the current plain-image pixel and the last cipher-image pixel are used to produce the current cipher-image pixel with the help of the Logistic map and a pseudorandom number generated by the Chen system. To enhance the efficiency, only expanded XOR operation and modulo 256 addition are employed during diffusion. Experimental results show that the new scheme owns a large key space and can resist the differential attack. It is also efficient.
본문 33,629자
본문 펼치기
## A chaotic image encryption scheme owning temp-value feedback
Leo Yu Zhang <sup>a,</sup> <sup>_∗_</sup>, Xiaobo Hu <sup>b</sup>, Yuansheng Liu <sup>c</sup>, Kwok-Wo Wong <sup>a</sup>
_aDepartment_ _of_ _Electronic_ _Engineering,_ _City_ _University_ _of_ _Hong_ _Kong,_ _Hong_ _Kong,_ _China_
_bState_ _Grid_ _Electric_ _Power_ _Research_ _Institute,_ _Qinghe,_ _Beijing_ _100192,_ _China_
_cCollege_ _of_ _Information_ _Engineering,_ _Xiangtan_ _University,_ _Xiangtan_ _411105,_ _Hunan,_ _China_
Abstract
Many round-based chaotic image encryption algorithms employ the permutation-diffusion structure. Schemes using this structure have been found insecure when the iteration round is equal
to one and the secret permutation of some existing ones can be recovered even a higher iteration round is adopted. In this paper, we present a single round permutation-diffusion chaotic
cipher for gray image, in which some temp-value feedback mechanisms are introduced to resist the
known attacks. Specifically, we firstly embed the plaintext feedback technique in the permutation process to develop different permutation sequences for different plain-images and then employ
plaintext/ciphertext feedback for diffusion to generate equivalent secret key dynamically. Experimental results show that the suggested scheme owns large key space and can resist the differential
attack. It is also efficient.
_Keywords:_ image encryption, Chen system, Logistic map, permutation, diffusion
1. Introduction
In the information era, digital images have been widely used for various applications, such as
entertainment, business, health service and military affairs, etc. All the sensitive data should be
encrypted before transmission to avoid eavesdropping. However, bulk data size and high redundancy among the raw pixels of a digital image make the traditional encryption algorithms, such
as DES, IDEA, AES, not able to be operated efficiently. Therefore, designing specialized encryption algorithms for digital images has attracted much research effort. Some intrinsic properties
of chaotic systems, such as ergodicity, sensitive to the initial condition and control parameters,
are analogous to the confusion and diffusion properties specified by Shannon [1]. Thus makes it
natural to employ chaotic systems in image encryption algorithms [2–10]. Meanwhile, the art of
cryptanalysis has also made new achievements in the last few decades. Some of the existing image
encryption algorithms are found insecure [11–18] to different degrees due to the following defects:
1) the (equivalent) secret key can be obtained by the brute-force attack due to the dynamical
degradation of chaotic systems in digital domain; 2) all the operations employed in the encryption
process are reversible without the key or even linear, therefore the mathematical model of the
scheme is not a keyed one-way function [19]. In [20], some basic requirements for evaluating the
chaotic encryption algorithms are concluded.
_∗_ Corresponding author.
_Email_ _address:_ `leoxtu@gmail.com` (Leo Yu Zhang)
_Preprint_ _submitted_ _to_ _Elsevier_ _June_ _8,_ _2018_
The permutation-diffusion structure becomes the basis of many chaotic image encryption schemes
since Fridrich developed a chaos-based image encryption scheme of this structure in 1998 [2]. The
symmetric image encryption scheme in [4] extended the Cat map to three-dimensional to make it
suitable for permutation in space, followed by a similar diffusion construction of Fridrich’s. In 2004,
Mao et al. proposed an image encryption algorithm, where the discrete Baker map was employed
for permutation [8]. It’s worth mentioning that most image encryption schemes of this structure
have to execute the permutation and diffusion procedures alternatively for several rounds to fulfill
the security requirement, which will certainly lead to some reduction in efficiency. Nonetheless,
Solak et al. proposed a chosen ciphertext attack in 2010 by utilizing the relationship between the
pixels in the neighboring encryption rounds [12]. This attack is efficient for Fridrich’s scheme [2]
and it can also be applied to Chen’s scheme [4]. In addition, it is reported in [21] that the equivalent
key of several permutation-diffusion image ciphers, such as those suggested in [2, 4, 8, 22], can be
recovered when only one encryption round is applied.
Meanwhile, image encryption algorithms having other structures have also been developed. In
2010, Patidar et al. suggested a substitution-diffusion structure for color image [10], which was
attacked in [18]. In [9], Huang et al. presented a multi-chaotic system based permutation scheme,
in which pixel positions and bits in the individual pixel are shuffled together to achieve permutation and substitution simultaneously. Intuitively, permutation-only schemes are not secure against
known/chosen plaintext attack. In [13, 17], Li et al. proposed the quantitative and optimal quantitative cryptanalysis of the permutation-only encryption schemes with respect to known/chosen
plaintext attack.
By combining the Chen system and the Logistic map, a novel permutation-diffusion image
encryption algorithm is proposed in this paper. To resist the known attacks and achieve better
efficiency, two temp-value feedback mechanisms are embedded into a single permutation-diffusion
round. In the permutation part, we develop different permutation sequences for different plainimages by means of mapping some information of the plain-image to the generation process of
the permutation sequence. Thus makes the permutation behave in a “one time pad” manner. In
the diffusion part, another feedback technique is employed to make the equivalent key generation
depend on both the plain-image and the temp-value. By combining the proposed permutation
and diffusion technique, the scheme frustrates the known attacks [12, 21]. In addition, we add a
reversely-executed diffusion process to make the scheme sensitive to changes of plain-image.
The rest of this paper is organized as follows. Section 2 presents some descriptions of the prerequisites of the algorithm, such as expanded XOR operation, the temp-value feedback mechanism,
followed by the detailed encryption/decryption procedures. In Sec. 3, we evaluate the new scheme
via numerical simulations and comparisons. The last section gives some concluding remarks.
2. The proposed image encryption algorithm
_2.1._ _The_ _involved_ _chaotic_ _systems_
Chen system has been widely adopted in many chaotic image encryption algorithms, it can be
modeled by [4]
˙x = _a_ ( _y −_ _x_ ) _,_
˙x = _a_ ( _y −_ _x_ ) _,_
˙y = ( _c −_ _a_ ) _x −_ _xz_ + _cy,_
(1)
˙z = _xy −_ _bz,_
2
where _a_, _b_ and _c_ are system parameters. The system is chaotic when _a_ = 35, _b_ = 3 and _c ∈_ [20 _,_ 28 _._ 4].
In the proposed encryption algorithm, _c_ is fixed at 28.
The other chaotic system employed in this encryption algorithm is the Logistic map
_yn_ +1 = _µ · yn ·_ (1 _−_ _yn_ ) _,_
where _yn_ _∈_ (0 _,_ 1) and _µ_ is the control parameter. When _µ ∈_ (3 _._ 5699456 _,_ 4), the output sequence is
ergodic in the unit interval (0 _,_ 1), which makes the Logistic map suitable for pseudorandom number
generation [23].
_2.2._ _The_ _expanded_ XOR _operation_
The expanded XOR (eXOR) operation is introduced to enhance the overall security level of the
scheme. For two inputs _x_ = <sup>�</sup> _i_ <sup>7</sup> =0 <sup>_xi ·_</sup> <sup>2</sup> <sup>_i_</sup> <sup>and</sup> <sup>_r_</sup> <sup>= �</sup> _i_ <sup>8</sup> =0 <sup>_ri ·_</sup> <sup>2</sup> <sup>_i_</sup> <sup>,</sup>
_i_ <sup>7</sup> =0 <sup>_xi ·_</sup> <sup>2</sup> <sup>_i_</sup> <sup>and</sup> <sup>_r_</sup> <sup>= �</sup> _i_ <sup>8</sup>
_i_ <sup>8</sup> =0 <sup>_ri ·_</sup> <sup>2</sup> <sup>_i_</sup> <sup>,</sup>
eXOR( _x, r_ ) =
7
_i_ =0
not( _xi ⊕_ _ri ⊕_ _ri_ +1) _·_ 2 <sup>_i_</sup> _,_
where not( _x_ ) flips a single bit _x_ . Then one can deduce a property of eXOR as follows.
Property 1. _If_ _the_ _equation_
eXOR( _x, r_ ) = _t_
_holds,_ _then_
eXOR( _t, r_ ) = _x._
_Proof._ This property can be proved by checking every bit of eXOR( _x, r_ ) and eXOR( _t, r_ ), which is
given in table 1.
<u>Table</u> <u>1:</u> <u>The</u> <u>result</u> <u>of</u> <u>not(</u> _<u>xi ⊕</u>_ _<u>ri ⊕</u>_ _<u>ri</u>_ <u>+1).</u>
_<u>riri</u>_ <u>+1</u>
_xi_
<u>00</u> <u>01</u> <u>10</u> <u>11</u>
<u>0</u> <u>1</u> <u>0</u> <u>0</u> <u>1</u>
<u>1</u> <u>0</u> <u>1</u> <u>1</u> <u>0</u>
_2.3._ _The_ _temp-value_ _feedback_ _mechanism_
The core of the proposed encryption algorithm are two feedback techniques called plaintext
feedback in permutation and plaintext/ciphertext feedback in diffusion. They will be introduced
in the following sections.
3
_2.3.1._ _Plaintext_ _feedback_ _in_ _permutation_
Permutation is a basic component of both traditional and chaos-based encryption algorithms.
In traditional encryption standards, such as DES and AES, fixed permutation tables are employed.
While most chaos-based schemes, such as those in [2, 4, 5, 8], use key-dependent permutation. But
all of them have one feature in common: the permutation sequences (tables) are fixed once the secret
key is given. By introducing the plaintext feedback technique, we develop a new approach to design
dynamic permutation order, i.e., different plain-images corresponding to different permutation
sequences, thus makes permutation execute in a “one time pad” manner.
Without loss of generality, denote an 8-bit sequence and its permutated version by _{ai}_ <sup>_n_</sup> _i_ =1 <sup>and</sup>
_{a_ <sup>_′_</sup> _i_ <sup>_}n_</sup> _i_ =1 <sup>,</sup> <sup>respectively.</sup> <sup>For</sup> <sup>any</sup> <sup>_i ∈{_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, · · ·_</sup> <sup>_, n}_</sup> <sup>,</sup> <sup>permutation</sup> <sup>only</sup> <sup>makes</sup> <sup>change</sup> <sup>to</sup> <sup>the</sup> <sup>position</sup> <sup>of</sup>
Without loss of generality, denote an 8-bit sequence and its permutated version by _{ai}_ <sup>_n_</sup> _i_
<sup>_′_</sup> _i_ <sup>_}n_</sup> _i_
_{a_ <sup>_′_</sup> _i_ <sup>_}n_</sup> _i_ =1 <sup>,</sup> <sup>respectively.</sup> <sup>For</sup> <sup>any</sup> <sup>_i ∈{_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, · · ·_</sup> <sup>_, n}_</sup> <sup>,</sup> <sup>permutation</sup> <sup>only</sup> <sup>makes</sup> <sup>change</sup> <sup>to</sup> <sup>the</sup> <sup>position</sup> <sup>of</sup>
_ai_ while keeps its value unchanged. Thus one has
max( _ai_ ) = max( _a_ <sup>_′_</sup> _i_ <sup>)</sup> <sup>_,_</sup>
_n_
_i_ =1
_ai_ =
_n_
_i_ =1
_a_ <sup>_′_</sup> _i_ <sup>_._</sup>
Set
_y_ 0 =
�0 _,_ if max( _ai_ ) = 0 _,_
<u>�</u> _n_ <u>�</u> _n_
_<u>i</u>_ <u>=1</u> <sup>_<u>ai</u>_</sup> _<u>i</u>_ <u>=1</u> <sup>_<u>a</u>_</sup> _<u>i</u>_ <sup>_′_</sup>
otherwise _,_
_n·_ max( _ai_ ) <sup>=</sup> _n·_ max( _a_ <sup>_<u>′</u>_</sup> _i_ <sup>)</sup> <sup>_,_</sup>
_<u>i</u>_
_n·_ max( _a_ <sup>_<u>′</u>_</sup> _i_
<u>�</u> _n_
_<u>i</u>_ <u>=1</u> <sup>_<u>a</u>_</sup> _<u>i</u>_ <sup>_′_</sup>
(2)
_<u>i</u>_ <sup>_′_</sup>
otherwise _,_
<sup>_<u>′</u>_</sup> _i_ <sup>)</sup> <sup>_,_</sup>
Note that _y_ 0 = 0 or _y_ 0 = 1 if and only if _ai_ _≡_ _c_, where _i_ _∈{_ 1 _,_ 2 _, · · ·_ _, n}_ and _c_ is a constant.
The permutation can be simply ignored when this situation occurs during encryption. Then the
process to generate a permutation sequence _{si}_ <sup>_n_</sup> _i_ =1 <sup>from</sup> <sup>_y_</sup> <sup>0</sup> <sup>and the Logistic map can be described</sup>
as follows.
step 1: Initialize the flag sequence _{f_ ( _k_ ) _}_ <sup>_n_</sup> _k_ =1 <sup>to</sup> <sup>0</sup> <sup>and</sup> <sup>set</sup> <sup>_i_</sup> <sup>= 1,</sup> <sup>_j_</sup> <sup>= 1.</sup>
step 2: Calculate _yj_ = _u · yj−_ 1(1 _−_ _yj−_ 1) and _y_ = _⌈yj_ _· n⌉_ sequentially.
step 3: If _f_ ( _y_ ) is equal to 0, then set _f_ ( _y_ ) = 1, _si_ = _y_ and _i_ = _i_ + 1; otherwise, let _j_ = _j_ + 1 and
go to step 2.
step 4: If _i < N_, set _j_ = _j_ + 1 and go to step 2.
Since the process acts like in a Coupon collector [24, Sec. 3.6] manner, it is concluded that the
required complexity to produce _{si}_ <sup>_n_</sup> _i_ =1 <sup>is</sup> <sup>_O_</sup> <sup>(</sup> <sup>_n_</sup> <sup>log</sup> <sup>_n_</sup> <sup>),</sup> <sup>which</sup> <sup>outperforms</sup> <sup>the</sup> <sup>suggested</sup> <sup>methods</sup>
suggestted in [25], whose complexity is _O_ ( _n_ + _n_ log _n_ ).
It should be noticed that the inverse permutation shares the same structure of the original
one because Eq. (2) always holds. In the proposed permutation, some information of the original
sequence _{ai}_ <sup>_n_</sup> _i_ =1 <sup>is</sup> <sup>mapped</sup> <sup>to</sup> <sup>the</sup> <sup>initial</sup> <sup>value</sup> <sup>of</sup> <sup>the</sup> <sup>nonlinear</sup> <sup>function.</sup> <sup>Then</sup> <sup>one</sup> <sup>can</sup> <sup>gener-</sup>
sequence _{ai}_ <sup>_n_</sup> _i_ =1 <sup>is</sup> <sup>mapped</sup> <sup>to</sup> <sup>the</sup> <sup>initial</sup> <sup>value</sup> <sup>of</sup> <sup>the</sup> <sup>nonlinear</sup> <sup>function.</sup> <sup>Then</sup> <sup>one</sup> <sup>can</sup> <sup>gener-</sup>
ate distinct permutation sequences _{si}_ <sup>_n_</sup> _i_ =1 <sup>for</sup> <sup>different</sup> <sup>plain-images.</sup> <sup>Thus</sup> <sup>makes</sup> <sup>this</sup> <sup>kind</sup> <sup>of</sup>
ate distinct permutation sequences _{si}_ <sup>_n_</sup> _i_ =1 <sup>for</sup> <sup>different</sup> <sup>plain-images.</sup> <sup>Thus</sup> <sup>makes</sup> <sup>this</sup> <sup>kind</sup> <sup>of</sup>
permutation tough for the known/chosen plaintext attack proposed in [13, 17].
_2.3.2._ _Plaintext/ciphertext_ _feedback_ _in_ _diffusion_
The diffusion procedure presented in this scheme is composed of two rounds, which are denoted
by _Diffusion_ _I_ and _Diffusion_ _II_, respectively. In _Diffusion_ _I_, we first calculate the equivalent secret
keys according to the gray value of the last plain-image pixel. Then the current cipher-image pixel
can be obtained by combining the current plain-image pixel, the previous cipher-image pixel and the
current equivalent keys with the help of the eXOR operation and modulo 256 addition. Namely,
each pair of equivalent keys are produced by using the plaintext feedback technique and every
4
cipher-image pixel is obtained by using the ciphertext feedback technique. _Diffusion_ _II_ owns the
same structure as _Diffusion_ _I_ but executes reversely, thus makes the diffusion process sensitive
to changes of plain-image. Suppose an 8-bit PRNS _{xi}_ <sup>_n_</sup> _i_ =0 <sup>+3</sup> <sup>is</sup> <sup>available,</sup> <sup>one</sup> <sup>can</sup> <sup>compute</sup> <sup>the</sup>
to changes of plain-image. Suppose an 8-bit PRNS _{xi}_ <sup>_n_</sup> _i_ =0 <sup>+3</sup> <sup>is</sup> <sup>available,</sup> <sup>one</sup> <sup>can</sup> <sup>compute</sup> <sup>the</sup>
cipher-image pixel sequence _{ci}_ <sup>_n_</sup> _i_ =1 <sup>from</sup> <sup>_{pi}_</sup> _i_ <sup>_n_</sup> =1 <sup>by:</sup>
<sup>_n_</sup> _i_ =1 <sup>from</sup> <sup>_{pi}_</sup> _i_ <sup>_n_</sup>
_i_ <sup>_n_</sup> =1 <sup>by:</sup>
_•_ _Diffusion_ _I_ : Set _p_ 0 = _xn_, _m_ 0 = _xn_ +1 and _i_ = 1, obtain _{mi}_ <sup>_n_</sup> _i_ =1 <sup>by</sup> <sup>the</sup> <sup>following</sup> <sup>steps.</sup>
– Set the initial condition _r_ 0 of the Logistic map to
_r_ 0 =
( _xi−_ 1 + 127) _/_ ( _pi−_ 1 + 255) _,_ if _xi−_ 1 _≤_ _pi−_ 1 _,_
(3)
( _pi−_ 1 + 127) _/_ ( _xi−_ 1 + 255) _,_ otherwise _._
– Iterate the Logistic map twice from _r_ 0 to obtain _r_ ˆ and _r_ ˆ <sup>_′_</sup>, refresh them with Eq. (4) and
denote the result by _r_ and _r_ <sup>_′_</sup>, respectively.
_g_ ( _x_ ) = _⌊x ·_ 10 <sup>8</sup> _⌋_ mod 512 _,_ (4)
where _⌊x⌋_ returns the nearest integer smaller than or equal to _x_ .
– Compute _mi_ by
_mi_ = eXOR( _pi, r_ ) ∔ eXOR( _mi−_ 1 _, r_ <sup>_′_</sup> ) _,_ (5)
where _a_ ∔ _b_ = ( _a_ + _b_ ) mod 256.
– Let _i_ = _i_ + 1, execute the above three steps for _n −_ 1 times and get _{mi}_ <sup>_n_</sup> _i_ =1 <sup>.</sup>
_•_ _Diffusion_ _II_ : Similar to _Diffusion_ _I_, one can obtain _{ci}_ <sup>_n_</sup> _i_ =1 <sup>by</sup> <sup>diffuse</sup> <sup>_{mi}n_</sup> _i_ =1 <sup>in</sup> <sup>reverse</sup>
order. Set _mn_ +1 = _xn_ +3, _cn_ +1 = _xn_ +2, for _i_ = _n ∼_ 1, _Diffusion_ _II_ is the same as _Diffusion_ _I_
except Eq. (3) and Eq. (5) are replaced by
_r_ 0 =
( _xn−i_ + 127) _/_ ( _mi_ +1 + 255) _,_ if _xn−i_ _≤_ _mi_ +1 _,_
( _mi_ +1 + 127) _/_ ( _xn−i_ + 255) _,_ otherwise _,_
_ci_ = eXOR( _mi, r_ ) ∔ eXOR( _ci_ +1 _, r_ <sup>_′_</sup> ) _,_ (6)
and
respectively.
_2.4._ _Encryption_ _algorithm_
Combining the two kinds of temp-value feedback techniques described above, a novel symmetric
gray image encryption scheme is presented in this section. Without loss of generality, one can scan
a plain-image in the raster order and represent it as a one-dimensional 8-bit sequence _{pi}_ <sup>_n_</sup> _i_ =1 <sup>.</sup>
Given the secret key _K_ = ( _x, y, z, µ_ ), where ( _x, y, z_ ) is the initial condition of the Chen system
and _µ_ _∈_ (3 _._ 5699456 _,_ 4) is the control parameter of the Logistic map, the details of the encryption
procedure are described as follows.
_•_ _Step_ _(1)_ _Initialization_ : Implement the Chen system (1) by the fourth-order Runge-Kutta
method at step size _h_ = 0 _._ 001 iteratively for 1000+ _⌈_ ( _n_ +4) _/_ 3 _⌉_ times from ( _x, y, z_ ). Generate
a real number sequence _{zi}_ <sup>_n_</sup> _i_ =0 <sup>+3</sup> <sup>by combining the later</sup> <sup>_⌈_</sup> <sup>(</sup> <sup>_n_</sup> <sup>+4)</sup> <sup>_/_</sup> <sup>3</sup> <sup>_⌉_</sup> <sup>approximate states of the</sup>
a real number sequence _{zi}_ <sup>_n_</sup> _i_ =0 <sup>+3</sup> <sup>by combining the later</sup> <sup>_⌈_</sup> <sup>(</sup> <sup>_n_</sup> <sup>+4)</sup> <sup>_/_</sup> <sup>3</sup> <sup>_⌉_</sup> <sup>approximate states of the</sup>
Chen system. Then obtain an 8-bit PRNS _{xi}_ <sup>_n_</sup> _i_ =0 <sup>+3</sup> <sup>from</sup> <sup>_{zi}n_</sup> _i_ =0 <sup>+3</sup> <sup>by</sup> <sup>using</sup>
<sup>_n_</sup> _i_ =0 <sup>+3</sup> <sup>from</sup> <sup>_{zi}n_</sup> _i_ =0 <sup>+3</sup>
<sup>_n_</sup> _i_ =0 <sup>+3</sup> <sup>by</sup> <sup>using</sup>
_xi_ = _⌊_ dec( _|zi|_ ) _·_ 10 <sup>8</sup> _⌋_ mod 256 _,_
where _|x|_ and dec( _x_ ) return the absolute value and the fractional part of _x_, respectively.
5
_•_ _Step_ _(2)_ _Permutation_ : Permute the plaintext sequence _{pi}_ <sup>_n_</sup> _i_ =1 <sup>as</sup> <sup>described</sup> <sup>in</sup> <sup>Sec.</sup> <sup>2.3.1</sup> <sup>and</sup>
denote the sequence after permutation as _{p_ <sup>_′_</sup> _i_ <sup>_}n_</sup> _i_ =1 <sup>.</sup> <sup>The</sup> <sup>nonlinear</sup> <sup>function</sup> <sup>adopted</sup> <sup>here</sup> <sup>is</sup>
<sup>_′_</sup> _i_ <sup>_}n_</sup> _i_
denote the sequence after permutation as _{p_ <sup>_′_</sup> _i_ <sup>_}n_</sup> _i_ =1 <sup>.</sup> <sup>The</sup> <sup>nonlinear</sup> <sup>function</sup> <sup>adopted</sup> <sup>here</sup> <sup>is</sup>
the Logistic map.
_•_ _Step_ _(3)_ _Diffusion_ : Given PRNS _{xi}_ <sup>_n_</sup> _i_ =0 <sup>+3,</sup> <sup>diffuse</sup> <sup>_{p_</sup> _i_ <sup>_′_</sup>
_i_ <sup>_′}n_</sup> _i_
_Step_ _(3)_ _Diffusion_ : Given PRNS _{xi}_ <sup>_n_</sup> _i_ =0 <sup>+3,</sup> <sup>diffuse</sup> <sup>_{p_</sup> _i_ <sup>_′}n_</sup> _i_ =1 <sup>as</sup> <sup>described</sup> <sup>in</sup> <sup>Sec.</sup> <sup>2.3.2</sup> <sup>to</sup> <sup>obtain</sup>
the ciphertext sequence _{ci}_ <sup>_n_</sup> _i_ =1 <sup>.</sup>
<sup>_n_</sup> _i_ =1 <sup>.</sup>
_2.5._ _Decryption_ _algorithm_
The decryption procedures are similar to those of encryption except the following modifications:
1) _Permutation_ and _Diffusion_ are executed in reverse order, 2) _Diffusion_ _I_ and _Diffusion_ _II_ must
also be executed reversely, 3) Referring to property 1, Eq. (5) and Eq. (6) should be replaced with
_pi_ = eXOR( _mi−_ <sup>˙</sup> eXOR( _mi−_ 1 _, r_ <sup>_′_</sup> ) _, r_ )
and
_mi_ = eXOR( _ci−_ <sup>˙</sup> eXOR( _ci_ +1 _, r_ <sup>_′_</sup> ) _, r_ ) _,_
where _a−_ <sup>˙</sup> _b_ = ( _a −_ _b_ ) mod 256.
3. Security and efficiency analysis
_3.1._ _Analysis_ _of_ _key_ _space_
It is recommended in [20] that the key space of a chaos-based encryption system should be
larger than 2 <sup>100</sup> _≈_ 10 <sup>30</sup> to resist the brute-force attack. As described in Sec. 2.4, the secret key of
the suggested scheme is composed of the double-precision floating-point representation of the initial
condition of the Chen system and the control parameter of the Logistic map, i.e., _K_ = ( _x, y, z, µ_ ).
The number of significant digits in each parameter is 15. Therefore, the key space is (10 <sup>15</sup> ) <sup>4</sup> = 10 <sup>60</sup>,
which is much larger than the recommended size for a secure cipher.
_3.2._ _Differential_ _analysis_
Differential analysis aims to reveal some information of the (equivalent) secret key of an encryption algorithm by means of observing how differences in input can affect the resultant output.
To implement the differential analysis in an image encryption system, the opponent can encrypt
two chosen plain-images with minor modifications, e.g., a slight change in one of the pixels, then
compare the encrypted results. If the minor modification generates significant and unpredictable
results in the cipher-image, this attack will become inefficient.
To give a quantitative description of the one-pixel change on the encrypted results, two common
measures NPCR (number of pixels change rate) and UACI (unified average changing intensity) are
used. They are defined by
_<u>D</u>_ <u>(</u> _<u>i, j</u>_ <u>)</u>
_H_ _× W_ <sup>_×_</sup> <sup>100%</sup>
NPCR =
_i,j_
and
<u>1</u>
UACI =
_H_ _× W_
_i,j_
_<u>|C</u>_ <u>1(</u> _<u>i, j</u>_ <u>)</u> _<u>−</u>_ _<u>C</u>_ <u>2(</u> _<u>i, j</u>_ <u>)</u> _<u>|</u>_
_×_ 100% _,_
255
6
where _C_ 1 and _C_ 2 are two _H_ _× W_ (height _×_ width) cipher-images corresponding to plain-images
different in one single pixel, _C_ 1( _i, j_ )/ _C_ 2( _i, j_ ) is the gray-scale value of _C_ 1/ _C_ 2 at location ( _i, j_ ) and
_D_ is a matrix defined by
_D_ ( _i, j_ ) =
0 _,_ if _C_ 1( _i, j_ ) = _C_ 2( _i, j_ ) _,_
1 _,_ otherwise _._
It is reported in [6] that the expected NPCR and UACI values of a 256 gray-scale image are
99 _._ 6094% and 33 _._ 4635%, respectively.
The tests of the proposed scheme are carried out as follows. Given a plain-image _P_ 1, randomly
choose a location ( _i, j_ ) and obtain _P_ 2 by
_P_ 2( _i, j_ ) =
_P_ 1( _i, j_ ) + 1 _,_ if _P_ 1( _i, j_ ) _<_ 255 _,_
254 _,_ otherwise _._
Encrypt _P_ 1 and _P_ 2 and denote the cipher-images by _C_ 1 and _C_ 2, then one can calculate NPCR and
UACI as defined above. Given the secret key _K_ = (3 _._ 0 _,_ 4 _._ 0 _,_ 5 _._ 0 _,_ 3 _._ 999), repeat this test 200 times,
we found that the mean NPCR and UACI values are 99 _._ 6041% and 33 _._ 4198%, respectively, which
are very close to their expectation.
_3.3._ _Statistical_ _analysis_
_3.3.1._ _Histograms_ _of_ _encrypted_ _images_
In Figure 1, we give a typical example showing histograms of the plain-image and the corresponding cipher-image. As shown in Fig. 1(d), all the gray-scale values of the cipher-image of
“Lenna” are distributed uniformly over the interval [0 _,_ 255], which is significantly different from
the original distribution shown in Fig. 1(b).
_3.3.2._ _Information_ _entropy_
The histogram gives a visual sense of the pixel distribution in the cipher-image, while information entropy can offer a measure to quantify the random-looking distribution. The most commonly
used information entropy is the Shannon entropy [1], which is regarded as the vital feature of
randomness. For a message source with 2 <sup>_N_</sup> symbols _mi_, its Shannon entropy, _H_ ( _m_ ), is defined as
follows:
_Pr_ ( _mi_ ) _·_ log2[ _Pr_ ( _mi_ )] _,_
_H_ ( _m_ ) = _−_
2 <sup>_N_</sup> _−_ 1
_i_ =0
where _Pr_ ( _mi_ ) is the probability of occurence of the symbol _mi_ which is determined by the source. It
is easy to prove that a random gray-scale image with uniformly distributed pixels over the interval
[0 _,_ 255] can achieve the ideal Shannon entropy 8. Set the secret key _K_ = (2 _._ 0 _,_ 3 _._ 0 _,_ 4 _._ 0 _,_ 3 _._ 9876), and
get the cipher-image of “Lenna”, “Baboon” and “Pepper” of the same size 256 _×_ 256. The Shannon
entropy of the three cipher-images are _H_ Lenna = 7 _._ 9973, _H_ Baboon = 7 _._ 9971 and _H_ Pepper = 7 _._ 9969,
which are very close to the ideal value 8.
_3.3.3._ _Correlation_ _of_ _adjacent_ _pixels_
Adjacent pixels having high correlation is an intrinsic characteristic of digital images without
compression. An effective image encryption algorithm should be able to remove this kind of relationship. To test the correlation between horizontally, vertically and diagonally adjacent pixels,
7
(b)
(d)
(a)
(c)
Figure 1: Histograms of plain-image “Lenna” and its corresponding cipher-image: (a) plain-image “Lenna”; (b)
Histogram of “Lenna”; (c) the cipher-image of “Lenna”; (d) Histogram of the cipher-image.
we calculate the correlation coefficient in each direction by
_,_
_cov_ ( _x, y_ ) =
_<u>N</u>_ <u>1</u> <sup>_·_</sup> <sup>�</sup> _<u>i</u>_ <sup>_N_</sup> <u>=1</u> <sup>(</sup> <sup>_xi_</sup> <sup>_−_</sup> <sup>_x_</sup> <sup>¯)</sup> <sup>_·_</sup> <sup>(</sup> <sup>_yi_</sup> <sup>_−_</sup> <sup>_y_</sup> <sup>¯)</sup>
~~<u>�</u>~~
( _N_ <sup><u>1</u></sup> <u>�</u> _Ni_ =1 <sup>(</sup> <sup>_xi −_</sup> <sup>_x_</sup> <sup>¯)2)</sup> <sup>_·_</sup> <sup>(</sup> _N_ <sup><u>1</u></sup> <u>�</u> _Ni_ =1 <sup>(</sup> <sup>_y_</sup>
_<u>N</u>_ <u>1</u> <sup>_·_</sup> <sup>�</sup> _<u>i</u>_ <sup>_N_</sup>
_N_
<u>�</u> _Ni_ =1 <sup>(</sup> <sup>_xi −_</sup> <sup>_x_</sup> <sup>¯)2)</sup> <sup>_·_</sup> <sup>(</sup> _N_ <sup><u>1</u></sup>
_N_
<u>�</u> _Ni_ =1 <sup>(</sup> <sup>_yi −_</sup> <sup>_y_</sup> <sup>¯)2)</sup>
where _x_ ¯ = _N_ <u>1</u> <sup>_·_</sup> <sup>�</sup> _i_ <sup>_N_</sup>
_i_ <sup>_N_</sup> =1 <sup>_xi_</sup> <sup>,</sup> <sup>_y_</sup> <sup>¯</sup> <sup>=</sup> _N_ <u>1</u> <sup>_·_</sup> <sup>�</sup> _i_ <sup>_N_</sup>
where _x_ ¯ = _N_ <u>1</u> <sup>_·_</sup> <sup>�</sup> _i_ <sup>_N_</sup> =1 <sup>_xi_</sup> <sup>,</sup> <sup>_y_</sup> <sup>¯</sup> <sup>=</sup> _N_ <u>1</u> <sup>_·_</sup> <sup>�</sup> _i_ <sup>_N_</sup> =1 <sup>_yi_</sup> <sup>,</sup> <sup>(</sup> <sup>_xi, yi_</sup> <sup>)</sup> <sup>is</sup> <sup>the</sup> <sup>_i_</sup> <sup>-th</sup> <sup>pair</sup> <sup>of</sup> <sup>adjacent</sup> <sup>pixels</sup> <sup>in</sup> <sup>the</sup> <sup>same</sup>
direction and _N_ is the total number of pixel pairs. The result of the correlation coefficients along
the three directions of the plain-image “Lenna” and its corresponding cipher-image under secret
key _K_ = (5 _._ 0 _,_ 3 _._ 0 _,_ 4 _._ 0 _,_ 3 _._ 999) are listed in Table 2. It is clear that the correlation is almost reduced
to 0 after encryption.
Table <u>2:</u> <u>Correlation</u> <u>coefficients</u> <u>between</u> <u>the</u> <u>plain-image</u> <u>“Lenna”</u> <u>and</u> <u>the</u> <u>corresponding</u> <u>cipher-image.</u>
<u>Direction</u> <u>Plain-image</u> <u>“Lenna”</u> <u>After</u> <u>encryption</u>
<u>horizontal</u> <u>0</u> _<u>.</u>_ <u>93903</u> <u>0</u> _<u>.</u>_ <u>00350</u>
<u>vertical</u> <u>0</u> _<u>.</u>_ <u>96812</u> <u>0</u> _<u>.</u>_ <u>00247</u>
<u>diagonal</u> <u>0</u> _<u>.</u>_ <u>91352</u> <u>0</u> _<u>.</u>_ <u>00107</u>
_3.4._ _Speed_ _performance_
We also test the average encryption (decryption) speed of the proposed scheme on a 3 _._ 2GHz
Intel Pentium Dual Core CPU with 2GB RAM using VC compiler. Table 3 gives the average speed
8
of the proposed scheme with respect to images of various size. For comparison, the running speed
of the algorithm suggested in [4] and DES are also listed. The results indicate that our scheme
operates in a fast manner.
<u>Table</u> <u>3:</u> <u>Speed</u> <u>performance</u> <u>of</u> <u>the</u> <u>the</u> <u>proposed</u> <u>scheme,</u> <u>the</u> <u>scheme</u> <u>in</u> <u>[4]</u> <u>and</u> <u>DES</u> <u>algorithm.</u>
Image size
<u>(pixels)</u>
The proposed scheme
<u>(ms)</u>
The algorithm in
<u>[4]</u> <u>(ms)</u>
DES algorithm (ms)
<u>256</u> _<u>×</u>_ <u>256</u> <u>22</u> <u>60</u> <u>28</u>
<u>512</u> _<u>×</u>_ <u>512</u> <u>98</u> <u>273</u> <u>110</u>
<u>1024</u> _<u>×</u>_ <u>1024</u> <u>415</u> <u>1180</u> <u>445</u>
4. Conclusion
This paper presents a simple but secure chaotic cipher for gray images by improving the familiar
permutation-diffusion structure. As the plaintext feedback technique is used during permutation,
one can develop different permutation sequences for different plain-images, which makes the scheme
immune to known/chosen plaintext attack. The diffusion procedure is better than the traditional
one by employing a nonlinear operator eXOR and generating equivalent key stream dynamically.
Experimental tests demonstrate that the scheme possesses large key space, high security and good
encryption (decryption) speed. Thus, it may serve as a candidate for real-time image encryption
application.
Acknowledgement
This research was supported by the technology project of State Grid of China (No. XX17201200048).
References
[1] C. E. Shannon, Communication theory of secrecy systems, Bell System Technical Journal 28 (4) (1949) 656–715.
[2] J. Fridrich, Symmetric ciphers based on two-dimensional chaotic maps, International Journal of Bifurcation and
Chaos 8 (6) (1998) 1259–1284.
[3] G. Jakimoski, L. Kocarev, Chaos and cryptography: block encryption ciphers based on chaotic maps, IEEE
Transactions on Circuits and Systems I-Regular Papers 48 (2) (2001) 163–169.
[4] G. Chen, Y. Mao, C. K. Chui, A symmetric image encryption scheme based on 3D chaotic cat maps, Chaos,
Solitons & Fractals 21 (3) (2004) 749–761.
[5] Y. Zhang, Y. Wang, X. Shen, A chaos-based image encryption algorithm using alternate structure, Science in
China Series F-Information Sciences 50 (3) (2007) 334–341.
[6] C. Zhu, A novel image encryption scheme based on improved hyper-chaotic sequences, Optics Communications
285 (1) (2012) 29–37.
[7] M. Francois, T. Grosges, A new image encryption scheme based on a chaotic function, Signal Processing: Image
Communication 27 (3) (2012) 249–259.
[8] Y. Mao, G. Chen, S. Lian, A novel fast image encryption scheme based on 3D chaotic baker maps, International
Journal of Bifurcation and Chaos 14 (10) (2004) 3613–3624.
[9] C. Huang, H. Nien, Multi chaotic systems based pixel shuffle for image encryption, Optics Communications
282 (11) (2009) 2123–2127.
[10] V. Patidar, N. Pareek, K. Sud, Modified substitution-diffusion image cipher using chaotic standard and logistic
maps, Communications in Nonlinear Science and Numerical Simulation 14 (7) (2010) 2755–2765.
[11] G. Alvarez, <sup>`</sup> F. Montoya, M. Romera, G. Pastor, Cryptanalysis of dynamic lookup table based chaotic cryp
tosystems, Physics Letters A 326 (3-4) (2004) 211–218.
9
[12] E. Solak, C. Cokal, O. T. Yildiz, T. Biyikoglu, Cryptanalysis of Fridrich’s chaotic image encryption, International
Journal of Bifurcation and Chaos 20 (5) (2010) 1405–1413.
[13] C. Li, K. Lo, Optimal quantitative cryptanalysis of permutation-only multimedia ciphers against plaintext
attacks, Signal Processing 91 (4) (2011) 949–954.
[14] L. Y. Zhang, C. Li, K. W. Wong, S. Shu, G. Chen, Cryptanalyzing a chaos-based image encryption algorithm
using alternate structure, Journal of Systems and Software 85 (9) (2012) 2077–2085.
[15] C. Li, L. Y. Zhang, R. Ou, K. W. Wong, Breaking a novel colour image encryption algorithm based on chaos,
Nonlinear Dynamics 70 (4) (2012) 2383–2388.
[16] Y. Chen, X. F. Liao, K. W. Wong, Chosen plaintext attack on a cryptosystem with discretized skew tent map,
IEEE Transactions on Circuits and Systems II-Express Briefs 53 (7) (2006) 527–529.
[17] S. Li, C. Li, G. Chen, N. Bourbakis, K. Lo, A general quantitative cryptanalysis of permutation-only multimedia
ciphers against plaintext attacks, Signal Processing: Image Communication 23 (3) (2008) 212–223.
[18] C. Li, S. Li, K. Lo, Breaking a modified substitution-diffusion image cipher based on chaotic standard and
logistic maps, Communications in Nonlinear Science and Numerical Simulation 16 (2) (2011) 837–843.
[19] X. Lai, Defining cryptography, 2nd Workshop on International View of the State-of-the-Art of Cryptography
and Security and its Use in Practice, Beijing, 2012.
[20] G. Alvarez, <sup>`</sup> S. Li, Some basic cryptographic requirements for chaos-based cryptosystems, International Journal
of Bifurcation and Chaos 16 (8) (2006) 2129–2151.
[21] C. Li, G. Chen, On the security of a class of image encryption schemes, In Proceedings of 2008 IEEE International
Symposium on Circuits and Systems (2008) 3290–3293.
[22] X. He, Q. Zhu, P. Gu, A new chaos-based encryption method for color image, Lecture Notes in Artificial
Intelligence 4062 (2006) 671–678.
[23] M. Andrecut, Logistic map as a random number generator, International Journal of Modern Physics B 12 (9)
(1998) 921–930.
[24] R. Motwani, P. Raghavan, Randomized Algorithms, Cambridge University Press, 1995.
[25] J. A. E. Fouda, J. Y. Effa, et al., A fast chaotic block cipher for image encryption, Communications in Nonlinear
Science and Numerical Simulation 19 (3) (2014) 578–588.
10
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.