<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">IJMNTA</journal-id><journal-title-group><journal-title>International Journal of Modern Nonlinear Theory and Application</journal-title></journal-title-group><issn pub-type="epub">2167-9479</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ijmnta.2013.21A011</article-id><article-id pub-id-type="publisher-id">IJMNTA-29422</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Engineering</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  A Self-Adaptive Parallel Encryption Algorithm Based on Discrete 2D-Logistic Map
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>ing</surname><given-names>Wang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Guoping</surname><given-names>Jiang</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>College of Computer, Nanjing University of Posts and Telecommunications, Nanjing, China</addr-line></aff><aff id="aff2"><addr-line>College of Automation, Nanjing University of Posts and Telecommunications, Nanjing, China</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>jing9823@163.com(IW)</email>;<email>jianggp@njupt.edu.cn(GJ)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>29</day><month>03</month><year>2013</year></pub-date><volume>02</volume><issue>01</issue><fpage>89</fpage><lpage>96</lpage><history><date date-type="received"><day>December</day>	<month>4,</month>	<year>2012</year></date><date date-type="rev-recd"><day>January</day>	<month>6,</month>	<year>2013</year>	</date><date date-type="accepted"><day>January</day>	<month>18,</month>	<year>2013</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
   A self-adaptive parallel encryption algorithm based on discrete 2D-Logistic map is developed according to the position scrambling and diffusion of multi-direction in variable space of spatial chaos. The binary sequences b<sub>1</sub>b<sub>2</sub>b<sub>3</sub>&#183;&#183;&#183;b<sub>n</sub> are obtained according to the user key, in which the binary sequence 0 and 1 denote distribution mode of processors and the number of binary sequence n denotes cycle number. Then the pseudorandom 2D matrix is generated by 2D-Logistic map, and adaptive segmentation is applied in image matrix and pseudorandom matrix according to the value and the number of binary sequence. The parallel operation is used among blocks to improve efficiency and meet real-time demand in transmission processes. However, the pixel permutation is applied in partitioned matrix through ergodic matrix generated by pseudo-random matrix-block to decrease the correlation of adjacent pixels. Then the pixel substitution is used for fully diffusing through cipher block chaining mode until n cycles. The proposed algorithm can meet the three requirements of parallel operation in image encryption and the real-time requirement in transmission processes. The security is proved by theoretical analysis and simulation results. 
 
</p></abstract><kwd-group><kwd>2D-Logistic Map; Pseudo-Random Matrix; Theoretical Analysis; Simulation Results</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>2. Self-Adaptive Parallel Encryption Algorithm Based on Discrete 2D-Logistic Map</title><sec id="s1_1"><title>2.1. Discrete 2D-Logistic Map</title><p>With the development of technology, more and more fields are related to discrete-time multivariable system which mathematical model is deviation equation. Those discrete-time multivariable systems are called space discrete dynamic system [<xref ref-type="bibr" rid="scirp.29422-ref15">15</xref>], that is, 2D-discrete dynamic system denoted as</p><disp-formula id="scirp.29422-formula94503"><label>(1)</label><graphic position="anchor" xlink:href="4-2340067\c0e4b904-fb3c-418f-9194-158318206050.jpg"  xlink:type="simple"/></disp-formula><p>where f() is a nonlinear function, also known as forcing function. Ω &#206; (–∞,+∞) is a real number. μ &gt; 0 is a constant. m, n and x<sub>m,n</sub><sub> </sub>are states of space system. In fact, difference Equation (1) is the discrete form of one-dimensional convection Equation (2).</p><disp-formula id="scirp.29422-formula94504"><label>(2)</label><graphic position="anchor" xlink:href="4-2340067\3c167bdd-7b5d-4968-9da8-e475f69546cc.jpg"  xlink:type="simple"/></disp-formula><p>Particularly, when n = n<sub>0</sub>, ω = 0, Equation (2) is denoted as</p><disp-formula id="scirp.29422-formula94505"><label>(3)</label><graphic position="anchor" xlink:href="4-2340067\439eb462-1da4-40f1-b033-e6998431a447.jpg"  xlink:type="simple"/></disp-formula><p>Because n is constant n<sub>0</sub>, Equation (3) can be expressed as follows:</p><disp-formula id="scirp.29422-formula94506"><label>(4)</label><graphic position="anchor" xlink:href="4-2340067\ded6999f-5183-453b-a814-3f8e3e66a3de.jpg"  xlink:type="simple"/></disp-formula><p>Therefore, 1D-discrete dynamic system Equation (4) is a special case of 2D-discrete dynamic system Equation (1). When<img src="4-2340067\1cd3152b-68bb-4b40-b717-7fdd650f92ed.jpg" />, Equation (4) is expressed as</p><disp-formula id="scirp.29422-formula94507"><label>(5)</label><graphic position="anchor" xlink:href="4-2340067\5725cb9c-c0db-4a12-9d79-0a2ff8fa3e5e.jpg"  xlink:type="simple"/></disp-formula><p>This is classic 1D-Logistic map. When</p><p><img src="4-2340067\7d1c0912-3563-4fa5-b54b-92784479c4a2.jpg" />2D-discrete dynamic system is denoted as:</p><disp-formula id="scirp.29422-formula94508"><label>(6)</label><graphic position="anchor" xlink:href="4-2340067\fad53fc4-f4ff-453d-9c65-12e023c987c1.jpg"  xlink:type="simple"/></disp-formula><p>Study shows that the system Equation (6) is chaotic state with 2 &gt; μ &gt;= 1.55 and ω &#206; (–1,1), and has two iteration variables which is known as 2D-Logistic map.</p><p>There are two control parameters in space chaotic system. Space chaotic orbits are extremely sensitive to the change of control parameters. When μ = 1.96, ω = –0.05, the chaotic behavior of space chaotic system is described as <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p></sec><sec id="s1_2"><title>2.2. Demands of Parallel Encryption Algorithm</title><p>Parallel encryption algorithm refers to encrypting one image simultaneously by two or more processing elements (PE for short). Each PE has its separate memory space and computing resource. One superior parallel encryption mode must meet the following demands [<xref ref-type="bibr" rid="scirp.29422-ref13">13</xref>]:</p><p>1) Good diffusion effect Small changes in plain text or key have a big influence on cipher text is called diffusion which is known as avalanche effect. Generally CBC mode is used to realize fully diffusing in existing encryption algorithms. However, the application of CBC makes algorithm steps become serial mode. Therefore, the encryption algorithm is not only parallel operation but also can achieve fully diffusing.</p><p>2) Load balance of computing quantity Computing time depends on the PE with the longest running time. Therefore, the calculated quantity of every PE should be equal for a good parallel encryption algorithm.</p><p>3) Critical section management Two or more PE may read and write one memory area in parallel operation, and this memory area is called</p><p>critical section. Therefore, one good parallel algorithm should avoid this situation.</p></sec><sec id="s1_3"><title>2.3. Inter-Block Encryption Algorithm</title><p>It is assumed that one original image of size <img src="4-2340067\9579a8bf-a847-4af0-b548-cbbc23ed1189.jpg" /> is encrypted by r processing elements<img src="4-2340067\1e9ea817-8c1c-4a15-885c-bdcd8c502008.jpg" />, and meets the divisibility of r dividing M. The encryption process is as follows:</p><p>Step 1. Key generation. The binary sequence <img src="4-2340067\8f6dcf4d-49bd-4910-8e98-1d7e5615d78e.jpg" /> is generated according to user key, where the binary values 0 and 1 represent two distribution forms of processing elements, and the number of binary sequence is cycle number.</p><p>Step 2. Image segmentation. The plain-text matrix is divided into r blocks. If b<sub>n</sub> = 0, PE<sub>i</sub><sub> </sub>encrypts the pixels of matrix block which is from the <img src="4-2340067\fd3b8eb5-62a3-445e-9531-fcc195651c75.jpg" /> row to the<sub> <img src="4-2340067\78cea3ed-74fa-485a-8f02-794123d84190.jpg" /></sub> row of plain-text matrix. If b<sub>n</sub> = 1, PE<sub>i</sub><sub> </sub>encrypts the pixels of matrix block which is from the <img src="4-2340067\1c041d58-4cb9-43b8-a4d3-3cc8d13064f8.jpg" /> column to the <img src="4-2340067\a70f6cd4-3293-4634-893d-eb5b21fe3529.jpg" />column of plain-text matrix, where<img src="4-2340067\a0fe2e3f-b96f-4db5-b2d9-82b8f0d80f50.jpg" />.</p><p>Step 3. Each matrix block is scrambled and mixed by one processing element.</p><p>Step 4. Go to Step 1 until the end of the loop.</p></sec><sec id="s1_4"><title>2.4. Encryption Algorithm in Block</title><p>Assumed that the original image is P, and the pixel matrix is denoted as</p><disp-formula id="scirp.29422-formula94509"><label>(7)</label><graphic position="anchor" xlink:href="4-2340067\df9aee0e-dd9d-4f2a-9cfd-56ffa1c1ac4a.jpg"  xlink:type="simple"/></disp-formula><p>where<img src="4-2340067\07cc960e-eb20-4b52-8546-adb01402e190.jpg" />. A numerical matrix K of size <img src="4-2340067\52b9fe0d-804c-41a6-8886-9d05ac48d4b3.jpg" /> is produced according to 2D-discrete dynamical system, which is represented in Equation (8).</p><disp-formula id="scirp.29422-formula94510"><label>(8)</label><graphic position="anchor" xlink:href="4-2340067\119573de-3676-4312-b6dc-018fce29fffd.jpg"  xlink:type="simple"/></disp-formula><p>where<img src="4-2340067\c0815ad5-708f-4d80-bbc8-38db141ceb49.jpg" />. In the following, the steps of the proposed algorithm are described in detail.</p><p>Step 1. The distribution form of processing elements is defined according to binary sequences<img src="4-2340067\ad36cf75-5350-4d8e-ad39-09e88b8d3af2.jpg" />.</p><p>When b<sub>n</sub> = 0, the numerical matrix K is divided into r blocks in row direction. The ith numerical matrix block <img src="4-2340067\eb2dc408-3139-4267-b0be-5871533e6c87.jpg" /> is denoted as</p><p><img src="4-2340067\20731272-d9df-4409-8d39-2241afb58da9.jpg" /></p><disp-formula id="scirp.29422-formula94511"><label>(9)</label><graphic position="anchor" xlink:href="4-2340067\3407afe7-11f4-4cfe-a2fd-2b44a30709a3.jpg"  xlink:type="simple"/></disp-formula><p>Then the numerical matrix block <img src="4-2340067\d7c15d60-17cc-4d26-9ff3-18c1582ac2f1.jpg" /> is transformed into ergodic matrix <img src="4-2340067\c51ce94a-401d-48a9-9b80-b3b389685815.jpg" /> in Equation (10).</p><disp-formula id="scirp.29422-formula94512"><label>(10)</label><graphic position="anchor" xlink:href="4-2340067\5655af89-058f-4c8c-9744-cfafd6337bad.jpg"  xlink:type="simple"/></disp-formula><p>where<img src="4-2340067\147f70b2-7ffc-4160-ad5f-ae2b7967461c.jpg" />.</p><p>When b<sub>n</sub> = 1, the numerical matrix K is divided into r blocks in column direction. The ith numerical matrix block <img src="4-2340067\c951d14e-4225-49c5-ab4d-8bb692f9d2c6.jpg" /> is denoted as</p><disp-formula id="scirp.29422-formula94513"><label>(11)</label><graphic position="anchor" xlink:href="4-2340067\3a454c57-0426-4fba-a94d-a8e5f8120b86.jpg"  xlink:type="simple"/></disp-formula><p>Then the numerical matrix block <img src="4-2340067\fc37bc08-72d6-4d4e-9efe-b1462b6d5c1f.jpg" /> is converted into ergodic matrix <img src="4-2340067\d85a50ac-15ac-4dbb-ba83-c34a4c602e41.jpg" /> in Equation (12).</p><disp-formula id="scirp.29422-formula94514"><label>(12)</label><graphic position="anchor" xlink:href="4-2340067\f9674098-0363-4a2e-baf3-de260dbb4e35.jpg"  xlink:type="simple"/></disp-formula><p>where<img src="4-2340067\e5f54933-fd7b-42f2-8fb6-45563a008ab4.jpg" />.</p><p>Step 2. Position scrambling. We assume that the ith matrix block P<sub>i</sub> is scrambled according to ergodic matrix in PE<sub>i</sub>.</p><p>If b<sub>n</sub> = 0, the ith matrix block <img src="4-2340067\d5f9ad5b-e413-4b4f-9cf4-dd2683ad6879.jpg" /> is scrambled according to ergodic matrix<img src="4-2340067\c259ce03-d38d-418c-bf00-c5081cb33f3c.jpg" />, after scrambling the matrix is denoted as <img src="4-2340067\b10df492-9cfd-4348-ae4c-a63b1cd5f20e.jpg" /> in Equation (13).</p><p><img src="4-2340067\f45cac25-2726-4b3b-bbfb-daa19eec68f6.jpg" /></p><disp-formula id="scirp.29422-formula94515"><label>(13)</label><graphic position="anchor" xlink:href="4-2340067\9ee8614d-ae62-41c7-bd32-bcc328da6378.jpg"  xlink:type="simple"/></disp-formula><p>If<img src="4-2340067\b4bd0341-d66f-431e-9a95-7cbd84651963.jpg" />, the ith matrix block <img src="4-2340067\a852e459-ede7-4cee-b290-db54a8edcbb3.jpg" /> is scrambled according to ergodic matrix<img src="4-2340067\a0a5a669-be40-48e5-ae23-1f964679408b.jpg" />, and after scrambling the matrix is denoted as <img src="4-2340067\3ada8339-89eb-4483-8583-bb8a1b83b4d1.jpg" /> in Equation (14).</p><p><img src="4-2340067\9ed9e8cf-e906-4e40-8118-5a0e7bce195a.jpg" /></p><disp-formula id="scirp.29422-formula94516"><label>(14)</label><graphic position="anchor" xlink:href="4-2340067\b5a93138-cf23-438f-b146-f90fe2f488b7.jpg"  xlink:type="simple"/></disp-formula><p>Step 3. Image scrambling can destroy correlation between two adjacent pixels, but it cannot change pixel value thus the histogram is the same with original image. Therefore, the scrambled image should be further encrypted. For example, to encrypt the ith scrambled matrix block <img src="4-2340067\058d2da5-f234-4cad-af48-eaaa46529365.jpg" /> with b<sub>n</sub> = 0, and the result is denoted as <img src="4-2340067\a0875447-597e-4d10-b25a-abcd05996ab9.jpg" /> in Equation (15).</p><disp-formula id="scirp.29422-formula94517"><label>(15)</label><graphic position="anchor" xlink:href="4-2340067\452a2d00-2754-4c88-9973-9539617f3a28.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="4-2340067\8c2ece07-a6ca-4371-8475-34d01dce7b53.jpg" /> Go to step 1 until the end of the loop. The detailed encryption diagram is described in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>When n = 1, the pixel mixing based on chaining structure can make a small change of one pixel have effect on other pixels in the same block. And when n = 2, the influence can spread into whole image, which meet the demands of parallel encryption algorithms. In addition, the data volume is exactly same for every processing element which can realize load balance. Finally, there is no problem of critical section.</p></sec></sec><sec id="s2"><title>3. Theoretical Analysis and Experimental Simulation</title><p>Experimental analysis of the proposed algorithm in this letter has been done. To estimate the performance of the proposed scheme, we carry out a series of experiments. The experimental simulation is all implemented using Matlab8.0 running on a personal computer with i7 – 3770 s 2.8 GHz<sub>*</sub>4 processor. The parameter is selected as m = 1.96, ω = –0.05.</p><sec id="s2_1"><title>3.1. Statistical Analysis</title><p>The distribution of cipher image is very important because it has to hide the redundancy of original image and should not leak any information about original image or any relation between encrypted image and original image. In statistical simulation, the parameters are selected as b<sub>1</sub> = 0, b<sub>1</sub> = 1 and b<sub>1</sub>b<sub>2</sub> = 10 respectively. The simulation results are described in <xref ref-type="fig" rid="fig3">Figure 3</xref>. As can be seen form <xref ref-type="fig" rid="fig3">Figure 3</xref>, if n = 1, the proposed encryption in the paper can hide the redundancy of plain image completely, i.e., it can resist statistical attack effectively.</p></sec><sec id="s2_2"><title>3.2. Differential Analysis</title><p>We know that two main cryptographic properties of a good cipher are confusion and diffusion. Confusion means to complicate the dependence of the statistics of cipher image on the statistics of plain image. Diffusion means to spread out the influence of a single plain image symbol over many cipher-image symbols so as to hide the statistical structure of plain image. Differential attack can be avoided effectively through confusion and diffusion. In order to illustrate the performance of resistance on differential attack directly, we change the pixel value</p><p>of <xref ref-type="fig" rid="fig3">Figure 3</xref>(a) from 113 to 116 in the position (69,98) to illuminate the confusion and diffusion of Mirzaei’s scheme and our proposed scheme. Some experiments are performed to study confusion and diffusion properties in <xref ref-type="fig" rid="fig4">Figure 4</xref>, which there is only a tiny difference in plainimage sequences, and then the difference values of cipher-image sequences are obtained correspondingly. For Mirzaei’s algorithm in <xref ref-type="fig" rid="fig4">Figure 4</xref>(a), we observe that if there is only a tiny difference in plain image, and there is only some difference in the second block of cipher image correspondingly. However, for our proposed scheme (n = 1) in <xref ref-type="fig" rid="fig4">Figure 4</xref>(b), a tiny difference in plain image results in all the other cipher image change in the third block. And the parameter n = 2 in <xref ref-type="fig" rid="fig4">Figure 4</xref>(c), all the other cipher text will be influenced accordingly. Therefore, the diffusion and confusion properties of the proposed scheme are confirmed with n = 2.</p><p>In the following, we illustrate the performance of resistance on differential attack numerically. The number of pixels change rate (NPCR for short) and the unified average change intensity (UACI for short) are the significant measure of resistance on differential attack. NPCR and UACI denote the number of pixels change and the unified average change intensity in cipher image respectively, while we change one pixel value in the plain image randomly. Assume that there are two cipher images (<img src="4-2340067\ecabad60-bd23-4965-9f9f-843a2933625e.jpg" />,<img src="4-2340067\6b5b5fb1-684f-4c18-9ee0-eb0587a26818.jpg" />) whose plain images only have one different pixel. The pixels in position <img src="4-2340067\5feb3edf-503b-4ca3-9231-197c1e490e80.jpg" /> of these two cipher images are denoted as <img src="4-2340067\a3d3b6b0-3ee1-486e-b4d9-99f16f4511d2.jpg" /> and<img src="4-2340067\93aa1de9-fbc6-4775-81d7-f7d993ab53de.jpg" />, respectively. Then one matrix D is defined with the same size of<img src="4-2340067\7af89c4b-062d-445a-9bc3-01af7c244d38.jpg" />, and we assume that if<img src="4-2340067\ce5658e8-a06a-4555-8d45-fe9e03797e12.jpg" />, then<img src="4-2340067\ef78f682-b57e-4fd0-a402-a389cb42645a.jpg" />, otherwise,<img src="4-2340067\b6bf79e5-4d8a-4655-a7cd-664d1c6496f0.jpg" />. Therefore, NPCR and UACI can be represented as</p><disp-formula id="scirp.29422-formula94518"><label>(16)</label><graphic position="anchor" xlink:href="4-2340067\19d5df96-65c7-4a39-9d80-1bb19868871f.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.29422-formula94519"><label>(17)</label><graphic position="anchor" xlink:href="4-2340067\6c7f7879-0878-4211-9675-fd3fd8f69887.jpg"  xlink:type="simple"/></disp-formula><p>We change the pixel value of <xref ref-type="fig" rid="fig3">Figure 3</xref>(a) from 81 to 85 in the position (169,236), and then based on Equation (16) and (17) with n = 2, NPCR and UACI can be calculated to be 99.63% and 31.26%, respectively. Therefore, one pixel change in plain image can lead to completely change of cipher image. We can draw conclusion that the proposed encryption algorithm can resist differential attack effectively.</p></sec><sec id="s2_3"><title>3.3. Key Sensitivity Test</title><p>An encryption scheme has to be key-sensitive, meaning that a tiny change in keys will cause decryption failure completely. The key sensitivity test is performed in detail according to the following steps:</p><p>• <xref ref-type="fig" rid="fig3">Figure 3</xref>(a) is encrypted with the test key m = 1.96, ω = –0.05, respectively. And its corresponding decrypted image with the correct key is presented in <xref ref-type="fig" rid="fig5">Figure 5</xref>(a).</p><p>• Then, the corresponding decrypted image with m = 1.96001 is presented in <xref ref-type="fig" rid="fig5">Figure 5</xref>(b).</p><p>• Again, when one pixel in PE<sub>3</sub> is changed, the corresponding decrypted image with the correct key is presented in <xref ref-type="fig" rid="fig5">Figure 5</xref>(c), while b<sub>1</sub> is chosen as “1”.</p><p>Finally, when one pixel in PE<sub>3</sub> is changed, the corresponding decrypted image with the correct key is presented in <xref ref-type="fig" rid="fig5">Figure 5</xref>(d), while b<sub>1</sub>b<sub>2</sub> are chosen as “10”, respectively.</p><p>Based on the simulation mentioned above, we can draw a conclusion that if there is a tiny change in the key explained before, we can obtain a completely different image from the original image. And if there is a tiny change in the plain image, the decrypted image is completely different form the original image, while b<sub>1</sub>b<sub>2</sub> are chosen as “10” respectively. Those simulation results show high key-sensitivity and plain-text sensitivity of the</p><p>proposed algorithm.</p></sec><sec id="s2_4"><title>3.4. Analysis of Information Entropy</title><p>Entropy H(x) was introduced by Shannon in 1949 firstly and can be obtained through the following formula:</p><disp-formula id="scirp.29422-formula94520"><label>(18)</label><graphic position="anchor" xlink:href="4-2340067\61b4200c-b887-4370-9c40-822e28f85eca.jpg"  xlink:type="simple"/></disp-formula><p>where n is the number of gray scale levels in an image, <img src="4-2340067\f97469f1-36ac-46c9-87c5-dfdd91a79cf0.jpg" />is the occurrence probability of gray scale in the image and meets the following formula:</p><disp-formula id="scirp.29422-formula94521"><label>(19)</label><graphic position="anchor" xlink:href="4-2340067\2629e684-82a9-44ce-b6f0-ed068bbd4431.jpg"  xlink:type="simple"/></disp-formula><p>The entropy value will be 8 for images that are produced totally randomly. The closer the entropy of an algorithm is 8, the less predictable, and thus the more secure the scheme. The cipher-image entropy values have been measured using six plain images in USC-SIPI data base and the results are shown in <xref ref-type="table" rid="table1">Table 1</xref>.</p></sec><sec id="s2_5"><title>3.5. Analysis of Correlation of Two Adjacent Pixels</title><p>Each pixel in the digital image is not independent of other pixels, but has significant correlation. One of purpose for an encryption algorithm is to decrease correlation between adjacent pixels and realize zero co-correlation properties. To show correlation between adjacent pixels in encrypted images, we take <xref ref-type="fig" rid="fig4">Figure 4</xref>(a) for example to analyze correlation between two vertically adjacent pixels, two horizontally adjacent pixels, and two diagonally adjacent pixels, respectively.</p><p><xref ref-type="table" rid="table1">Table 1</xref>. The entropy of original gray scale image and its corresponding encrypted ones by the proposed algorithm. <img src="4-2340067\fa49c220-6123-4bcb-aa36-7aa0c58aa793.jpg" /></p><p><xref ref-type="table" rid="table2">Table 2</xref>. Comparison of running time and theirs performance.</p><p><img src="4-2340067\09399a28-e89c-4ba6-9699-5cb8c8091f22.jpg" /></p></sec><sec id="s2_6"><title>3.6. Running Time Test</title><p>Three parallel algorithms are simulated in running time test. They are Zhou’s algorithm [<xref ref-type="bibr" rid="scirp.29422-ref13">13</xref>], Mirzaei’s algorithm [<xref ref-type="bibr" rid="scirp.29422-ref14">14</xref>] and the proposed algorithm. The encrypted image is gray 21.512 in USC-SIPI image database and the simulation results are described in <xref ref-type="table" rid="table2">Table 2</xref>.</p></sec></sec><sec id="s3"><title>4. Conclusion</title><p>In this paper, the security property of a class of image encryption algorithms based on chaotic maps bas been discussed. And some findings on the security problem of the existing parallel encryption algorithms have been reported. Based on discrete 2D-Logistic map, a self-adaptive parallel encryption algorithm has been developed according to the position scrambling and diffusion of multidirection in variable space of spatial chaos. The results of numerical analysis show that the proposed algorithm can meet the three requirements of parallel operation in image encryption and the real-time requirement in transmission processes. The security has been proved by theoretical analysis and simulation results.</p></sec><sec id="s4"><title>5. Acknowledgements</title><p>The authors are greatly indebted to anonymous reviewers for their valuable comments and suggestions. This research is supported in part by the National Natural Science Foundation of China under Grant No. 60874091, the Six Projects Sponsoring Talent Summits of Jiangsu Province under Grant No. SJ209006, the Foundation for Doctoral Program of High Education of China under Grant No. 20103223110003, the MOE Research in the Humanities and Social Sciences Planning Fund of China (Grant No. 12YJAZH120), and the Postgraduate Scientific Innovation Project for Universities of Jiangsu Province under Grant No. CXZZ11-0401.</p></sec><sec id="s5"><title>REFERENCES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.29422-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">X. Ma, C. Fu and W. M. Lei, “Novel Chaos-Based Image Encryption Scheme with an Improved Permutation Process,” International Journal of Advancements in Computing Technology, Vol. 3, No. 5, 2011, pp. 223-233.</mixed-citation></ref><ref id="scirp.29422-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Z. Z. Wang and Q. Y. Han, “Finite-Time Chaos Synchronization of Unified Chaotic System with Uncertain Parameters,” Communications in Nonlinear Science and Numerical Simulation, Vol. 14, No. 5, 2009, pp. 2239-2247.</mixed-citation></ref><ref id="scirp.29422-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">H. Wang, Z. Z. Han, Q. Y. Xie, et al., “Finite-Time Chaos Control of Unified Chaotic Systems with Uncertain Parameters,” Communications in Nonlinear Science and Numerical Simulation, Vol. 55, No. 4, 2009, pp. 323-328.</mixed-citation></ref><ref id="scirp.29422-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">H. P. Lu and X. W. Wang, “A New Spatiotemporally Chaotic Cryptosystem and Its Security and Performance Analyses,” Chaos: An Interdisciplinary Journal of Nonlinear Science, Vol. 14, No. 3, 2004, pp. 617-629.</mixed-citation></ref><ref id="scirp.29422-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Y. Yang and X. F. Liao, “Cryptanalysis and Improvement on a Block Cryptosystem Based on Iteration a Chaotic Map,” Physics Letters A, Vol. 363, No. 4, 2007, pp. 277-281.</mixed-citation></ref><ref id="scirp.29422-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">G. D. Ye, “Image Scrambling Encryption Algorithm of Pixel Bit Based on Chaos Map,” Pattern Recognition Letters, Vol. 31, No. 5, 2010, pp. 347-354.</mixed-citation></ref><ref id="scirp.29422-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">L. Zhao and A. Adhikari, “On the Security Analysis of an Image Scrambling Encryption of Pixel Bit and Its Improved Scheme Based on Self-Correlation Encryption,” Communications in Nonlinear Science and Numerical Simulation, Vol. 17, No. 8, 2012, pp. 3303-3327.</mixed-citation></ref><ref id="scirp.29422-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Z. Guan, F. Huang and W. Guan, “Chaos-Based Image Encryption Algorithm,” Physics Letters A, Vol. 346, No. 1, 2005, pp. 153-157.</mixed-citation></ref><ref id="scirp.29422-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">G. R. Chen, “A Symmetric Image Encryption Scheme Based on 3D Chaotic Cat Maps,” Chaos, Solitons and Fractals, Vol. 21, No. 7, 2004, pp. 749-761.</mixed-citation></ref><ref id="scirp.29422-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">P. Li, Z. Li and W. A. Halang, “A Multiple Pseudorandom-Bit Generator Based on a Spatiotemporal Chaotic Map,” Physics Letters A, Vol. 349, No. 6, 2006, pp. 467-473.</mixed-citation></ref><ref id="scirp.29422-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">A. Kanso and M. Ghebleh, “A Novel Image Encryption Algorithm Based on a 3D Chaotic Map,” Communications in Nonlinear Science and Numerical Simulation, Vol. 17, No. 7, 2012, pp. 2943-2959.</mixed-citation></ref><ref id="scirp.29422-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Y. Wang and C. Y. Han, “A Parallel Encryption Algorithm for Color Images Based on Lorenz Chaotic Sequences,” Conference Proceedings on 6th World Congress on Intelligent Control and Automation, Dalian, 21-23 June 2006, pp. 9744-9747.</mixed-citation></ref><ref id="scirp.29422-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Q. Zhou, K. W. Wong and X. F. Liao, “Parallel Image Encryption Algorithm Based on Discretized Chaotic Map,” Chaos Soliton &amp; Fractals, Vol. 29, No. 11, 2008, pp. 1081-1092.</mixed-citation></ref><ref id="scirp.29422-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">O. Mirzaei, M. Yaghoobi and H. Irani, “A New Image Encryption Method: Parallel Sub-Image Encryption with Hyper Chaos,” Nonlinear Dynamics, Vol. 67, No. 1, 2012, pp. 557-566.</mixed-citation></ref><ref id="scirp.29422-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">F. Y. Sun and S. T. Liu, “Cryptographic Pseudo-Random Sequence from the Spatial Chaotic Map,” Chaos Solitons &amp; Fractals, Vol. 41, No. 5, 2009, pp. 2216-2219.</mixed-citation></ref></ref-list></back></article>