Image Encryption Using Multi-Scroll Attractor and Chaotic Logistic Map

2022-08-24 07:01AnithaandVijayalakshmi
Computers Materials&Continua 2022年8期

R.Anithaand B.Vijayalakshmi

Department of Electronics&Communication Engineering,B.S.Abdur Rahman Crescent Institute of Science&Technology,Chennai,600045,Tamilnadu,India

Abstract: In the current scenario,data transmission over the network is a challenging task as there is a need for protecting sensitive data.Traditional encryption schemes are less sensitive and less complex thus prone to attacks during transmission.It has been observed that an encryption scheme using chaotic theory is more promising due to its non-linear and unpredictable behavior.Hence,proposed a novel hybrid image encryption scheme with multi-scroll attractors and quantum chaos logistic maps(MSA-QCLM).The image data is classified as inter-bits and intra-bits which are permutated separately using multi scroll attractor &quantum logistic maps to generate random keys.To increase the encryption efficiency,a hybrid chaotic technique was performed.Experimentation is performed in a Qiskit simulation tool for various image sets.The simulation results and theoretical analysis show that the proposed method is more efficient than its classical counterpart,and its security is verified by the statistical analysis,keys sensitivity,and keyspace analysis.The Number of changing pixel rate(NPCR)&the Unified averaged changed intensity(UACI)values were observed to be 99.6%&33.4%respectively.Also,entropy oscillates from 7.9 to 7.901 for the different tested encrypted images.The proposed algorithm can resist brute force attacks well,owing to the values of information entropy near the theoretical value of 8.The proposed algorithm has also passed the NIST test(Frequency Monobit test,Run test and DFT test).

Keywords: Chiper key;image encryption;logistic map;quantum chaos;qiskit

1 Introduction

The growth in digital communication and information technology fields creates a high requirement for data generation,transmission and storage.Medical images are highly sensitive data and need to be protected while transmitting [1-3].Digital images exhibit more detailed information as a shared correlation among nearby pixels.Encryption of digital images is highly challenging and it does not suit the traditional Advanced Encryption Standard (AES) and Data Encryption Standard(DES)encryption algorithm.Chaotic encryption schemes are preferable because of their randomness property in a key generation[4-7].

The existing chaos-based encryption model needs more improvisation to withstand vulnerable cyber-attacks including botnet,Denial of Service (DoS) and Man in the Middle (MITM) attacks[7].The requirement of an efficient chaos scheme must expel high randomness and complex key generation.The dynamic complex nature of the data introduces more possibilities for introducing chaotic models.Though the data are non-dynamic,complex encryption is required to withstand the security requirements [8,9].The encryption algorithm thus needs a complex chaotic key generation system to withstand malicious encoding of protected data[10].

Quantum-based chaos encryption models are preferred for their complexity behavior.Quantum computing in image processing applications is introduced to perform classical image processing problems with quantum mechanics techniques.This invasion enhances the efficiency in the field of imaging and excels with its parallel processing skills.The images are represented as quantum bits say qubits are encoded to perform a specific task.The quantum encoding process requires [(2*n)+1]qubits to encode a raw image.The main goal of the quantum image encryption scheme is to preserve the original content of the input image bits that are encoded.The permutation of bits in the image by changing their coordinates can result in image encryption.Quantum encryption exhibits classical state behavior and they are highly sensible for dynamic behaviors in any system.Many types of research propagate the advantage of quantum-based chaotic encryption[11-14].

From the above observations,a novel encryption scheme with multi-scroll attractor and quantum chaotic logistic maps is proposed for data encryption.The various stages of novel MSA-QCLM include,

1) Chaotic key generation using multi-scroll attractor model and quantum logistic Maps.

2) The newly encrypted data is permutated with the initial condition of logistic maps.

3) New encrypted data by diffusion process ready for transmission.

The paper discussion starts with a literature Survey followed by the proposed MSA-QCLM algorithm.Experimentation setup results with comparative analysis were discussed and concluded with the future scope.

2 Literature Review

Ranjeet et al.[15]developed a method of security system for the transmission of computerized imaging.They used a quantum confusion map to encrypt the staggered picture data.The image data is quad-tree divided and each part is encrypted separately to produce a non-shrinkable new structure for transmission.The encryption is based on the frequency of the corresponding blocks.The shuffling of pixels in each block constitutes to new measurement matrix which acts as the random key.The model is sensitive to edge-based pixel values of each block of the image.

Zakariya et al.[16]developed an image encryption model for computerized signature transmission using quantum cryptographic schemes.The input is divided into quantum gates for the encryption process.The quantum gates are used to solve both classical and quantum issues.The data is encrypted,decrypted,matched and transmitted to three output parties.Quantum entry-based keys are generated and checked for tampering in the pathways.In the receiving end,the unscrambled data is retrieved with the quantum key received at the end.The model is tested using MATLAB using the Quad Quantum library.The communication established is slower due to the complex process.

Guodong[17]developed an image encryption model that depends on confusing guideline entropy.This includes the various parameters for a confused guide such as change,regulation and dissemination.The keys are generated in regard concerning the pixel position.Thus,the change of position is communicated and resolved to upgrade the security.Even a slight change in plain data generates a significant difference in encryption.This shows highly excelled encryption in the majority of instances.The pixel distribution is limited beforehand of diffusion operation.

Xingbin et al.[18]proposed an encryption scheme that develops the encryption circuit based on bit logic.The inter-bit and intra-bit are arranged and disordered to calculate q-bit using XOR logic.These q-bit planes constitute the generation of chipper text.There will create a uniform change in pixel position.This encryption scheme withstands brute-force attacks.The key generated thus by pixel detangling shows more proficient security.

Jian et al.[19]developed an encryption scheme based on generating confused guide maps.It also uses the Lorenz tumultuous guide map for DNA coding.The image is recreated based on the generated maps.Histogram,correlation and entropy are evaluated.Though the input image has ups and downs,the encrypted image is relatively uniform thus withstanding statistical attacks.The encryption scheme is often unstable in highly dynamic environments.

Xing et al.[20]developed encryption based on the Region of Interest(ROI)principle.The image is partitioned into ROI and encrypted.This is introduced in real-time Internet of Things(IoT)gadgets and observed that the power consumption for establishing the disordered encryption is high.Lia et al.[21]made a detailed idea of chip-based cryptography.The features in the images constitute the structure and encryption key requirements for chip generation.They also summarized the attacks prone in communication at various levels.They highlighted the chosen plain text attack and its need for consideration to build strong encryption schemes.

Motivated from these papers and proposed the novel hybrid encryption algorithm to ensure the better security against the different statistical attacks.

3 Proposed MSA-QCLM Method

The proposed algorithm based on multi-scroll attractor and quantum logistic maps create a strong encryption scheme with multiple key generations at an intermediate level.The input image is divided into inter-bits and intra-bits &permuted based on the fractal scroll and logistic maps to generate a random encryption key.These keys are combined with the original image information to create a highly sensitive chiper key for efficient encryption.

3.1 Multi-Scroll Attractor Model

Dynamical systems with multi-scroll are more complex dynamics than chaotic systems with monoscroll attractors.The state-space equation for automatic chaotic system is given by,

The above Eqs.(1)-(3)can be adapted using hyperbolic function and modified in Eq.(6).

Eqs.(4)and(5)are similar to Eqs.(1)and(2).

Chaotic attractor is obtained whena=2,b=6,c=6,d=3,e=3,f=1,p1=1,h=2 and the preferred initial conditions include(x1[0],x2([0],x3[0])=(0.1,0.1,0.6).Once the hyperbolic function is activated with the parameter,h=-3 and for the initial conditions generated,Fig.1 illustrates various conditions of hyperbolic function.The second phase is initiated with the parametersp1=-1,h=3 with the newly defined initial conditions as[0.1,-0.1,-0.6].Fig.2 illustrates the function regarding the new initial condition values.In the third phase,the parametersp1=1,h=3 and initial conditions are similar to the initially chosen values[0.1,0.1,0.6].This is demonstrated in Fig.3 which shows a single scroll.From the models,it is evident that the scheme is multi-scroll property.

To perform fractional estimates of chaotic systems,Eqs.(4)to(6)are adapted with the first,second and third-order derivative functions represented by Eqs.(7)to(9).

The newly derived models include,

The bifurcation diagrams of the proposed multi-scroll system is shown in the following Fig.4.

Figure 1:Portraits of phase for cubic nonlinear models of p1 tanh(x2+h)function in 1st phase

Figure 2:Portraits of phase for cubic nonlinear models of p1 tanh(x2+h)function in 2nd phase

Figure 3:Portraits of phase for cubic nonlinear models of p1 tanh(x2+h)function in 3rd phase

3.2 Logistic Maps

Chaotic systems are highly sensitive and are unpredictable in nature.The logistic maps are generated initially with basic permutation parameters.The bifurcation parameter varies from 0 to 4 when the iteration proceeds.The quantum logistic chaos maps are mainly generated with highly random outcomes.

The chaotic logistic maps are expressed as,

Figure 4:Bifurcation diagram of the proposed chaotic system

where,μ is the bifurcation parameter of logistic maps,with range 0 ≤μ ≤4.The initial condition is chosen asx0∈(0,1)and as the iteration continues for ‘m’numbers of sequences the threshold 3.5699456<μ ≤4 defines the chaotic nature of the system.As Kulsoom et al.[14]proposed the quantum logic maps is expressed as,

where,Cdenotes the control parameter,αis the dissipation constant,am&dmare complex conjugate coordinates.Thus,the model is highly sensible such that a small change in data generates different pseudo-random sequences.As the iteration proceeds,the model exhibits the non-linearity required for medical image encryption.

3.3 Proposed MSA-QCLM Encryption Process

The complete encryption scheme using the proposed hybrid algorithm is given as a model in Fig.5.

The encryption process is described as follows,

1.The Input Medical Images(grayscale images)are sub-divided into the inter-bit(pixels)I(m)and I(b)intra-bit(pixels)and rearranged into two M×N matrics

2.The intermediate keys are generated using the multi-scroll attractors using the Eqs.(4)-(6)which are denoted by the matrix S(m).

3.The matrix S(m)and I(m)are then diffused and permutated to form the new intermediate key K1 using the diffusion process given by,

Figure 5:Proposed MSA-QCLM encryption process

Again,

4.The intermediate keys are generated using the 3D logistic maps using the Eqs.(7)-(9) which are denoted by the matrix Sl.

5.The matrix S(l)and I(b)are then diffused and permutated to form the new intermediate key K2 using the diffusion process given by,

Again,

6.The total random key is generated by adding the Eqs.(16) and (21) which is given as the K matrix.

7.Again,the input image and newly formed key K is diffused to form the new encrypted images,the corresponding quantum circuit is given in Fig.6

Figure 6:Quantum circuits for the implementation of proposed encryption

4 Results and Discussion

The performance of the proposed MSA-QCLM system is evaluated for the algorithm capability and the security ensured.

4.1 Performance of Security Analysis

The security assured by the proposed hybrid system is tested in distinct image sets.The general image set including Lena,Pepper,Baboon and medical data from the Mammogram Image Analysis Society (MIAS) model is utilized for experimentation.The image is chosen with a size of 256×256,shown in Fig.7.The encrypted outputs of images are shown in Fig.8 that has the better susceptible to different attacks.The whole experimentation has been implemented on i5 CPU with 4GB RAM,1TBHDD,3.2 GHZ frequency and Qiskit with necessary libraries were used for the complete development of the proposed algorithm.

Figure 7:Input images

Figure 8:Encrypted output images

4.2 Key Sensitivity Analysis

It is of utmost importance to validate the sensitivity of key generated for its resistance towards mild to strong attacks.The number of changing pixel rate(NPCR)and the unified averaged changed intensity(UACI)are the parameters used to test the performance of the encryption algorithm.

4.2.1 Randomness Test

NPCR focuses on the number of pixels that change due to attacks and UACI on the averaged difference between two paired ciphertext images.The NPCR&UACI metrics are calculated according to the Eqs.(22) and (23) to examine the proposed MSA-QCLM system.Tab.1 shows the NPCR &UACI values for the input image set.

where,

Table 1:NPCR&UACI analysis of four different input images

The obtained results are compared with the other encryption algorithms and tabulated in Tab.2.It gives the clear idea on strength of the proposed algorithm.

Table 2:Comparative analysis for other encryption schemes with respect to NPCR&UACI

4.2.2 National Institute of Standards and Technology(NIST)Test

The strength of any encryption system will be highly related to the generated key.To ensure the key generated by the proposed algorithm is random,the paper employs the National Institute of Standards and Technology (NIST) procedural tests.The keys which are generated are converted into binary sequences and employed for the testing.

Frequency Monobit Test

The emphasis of the analysis is the ratio of one’s and zero’s throughout the whole series.The objective of this analysis is to decide whether the number of one’s and zero’s in a series is roughly the same as predicted.The measure evaluates the proximity of the percentage of one to 1/2,represents the number of one and zero in the series must be roughly the same.In this test,the zeros are assigned to-1 and the zeros are assigned to+1 and combined to generate the aggregate figures whose total mathematical formulation is presented as follows,

where,‘S(n)’is the sum of the values attained and ‘n’is the over-all sample count.Once the sum of values is calculated,the randomness is estimated by the‘P’value and is expressed as,

Run Test

The objective of this measure is to determine the cumulative number of cycles in a series even if the loop is a repeated series of the same pieces.The length‘k’run comprises precisely the same k bits and is connected pre and post with a bit of the contrary value.The objective of the training session is to decide if the number of tries of ones and zeroes of different lengths is as predicted in a random sequence.In specific,this measure decides if the oscillation among ones and zeros is too rapid or too sluggish.

This test uses a frequency test as a prerequisite.The key’s continuity is examined for the randomness using the mathematical expression,

where,V(n)(Obs)indicates the more rapid oscillations,when there is a lot of changes in the bitstreams.

DFT Test

The objective of this test seems to be the maximum height of the series in the Discrete Fourier Series.It identifies the recurrent characteristics(i.e.,repeated structures that are close to one another)in the series which would imply a variation from the presumption of randomness.The complete test analysis of the key generated using the proposed hybrid chaotic applications are given in Tab.3

Table 3:Complete test analysis

Tab.3 clearly shows the randomness of the keys is achieved by using the proposed hybrid algorithm and it has been proved that the generated key can defend any attacks in the networks for effective secured data transmission.

4.3 Adjacent Pixel Point Correlation Analysis

It is interesting to estimate the correlation factor of encrypted image and it has to be relatively low for an efficient encryption scheme.By comparing a set of 100 medical images,the correlation is estimated as follows,

wheree(a)andL(x)indicates the expectations and variance of the normal image and encrypted images.Tab.4 shows the correlation coefficient of the input and encrypted images.From the results,it is clear that the adjacent pixels are highly correlated in input but less correlation between the pixels in encrypted images.

Table 4:Correlation co-efficient of the input image and encrypted images

4.4 Information Entropy Analysis

Entropy analyzes the randomness of information distribution in encrypted images.The higher entropy value relates to better irregularity in the encrypted images.Mathematically it is represented as,

The values of entropy vary from 1 to 8.The different entropy values observed for various data sets are shown in Tab.5.

Table 5:Entropy values for the various image samples

Tab.5 shows the various entropies of the various image sets that were observed to be nearly equal to 8.

4.5 Computational Time Complexity Analysis

A faster response rate is another requirement for any system to encrypt data.By injecting few attacks,the algorithm was tested for its response time.The input images with dimensions 256×256 are considered and assessed the time frame which is shown in Tab.6

Table 6:Computational time complexity estimation

4.6 Diehard Randomness Test

To prove the randomness of the proposed encryption algorithm,we have conducted Diehard test which gives measurable indicators of randomness of cipher-text.The diehard battery includes twelve tests of which few are repeated with different parameters.As mentioned in[22],we conducted 12 test such as birthday test,overlapping test,permutations,binary rank,3D-spheres,squeeze,overlapping sum,craps,minimum distance,parking lot,monkey test and runs.Tabs.7 to 10 shows the differentp-values of encrypted images.It is found from the Tabs.7 to 10,p-values are found to be greater than 0.01 as mentioned in [23],which proves the proposed encryption can defend network and statistical attacks.

Table 7:Diehard randomness test for encrypted lena image

Table 8:Diehard randomness test for encrypted Baboon image

Table 9:Diehard randomness test for encrypted peppers image

Table 10:Diehard randomness test for encrypted mammogram image

Table 10:Continued

Tab.11 shows the comparative analysis between the proposed algorithm and other state of art algorithms.

Table 11:Comparative analysis between proposed algorithm and other algorithm

5 Conclusion

The proposed hybrid encryption algorithm enhances data security in dynamic environments.The proposed MSA-QLCM system is aware of the threats that occur during data transmission with a strong encryption key.The simulation results and theoretical analysis show that the proposed method is more efficient than its classical counterpart.The statistical analysis,keys sensitivity analysis,and key space analysis have been done.For the given medical data and standard images,the NPCR and UACI are found to be in the range of 99.8% and 33.5% respectively.Also,it has passed the NIST test and correlation values were very less after the encryption process.The entropy values oscillate between 7.9 to 8.0.Even though the proposed algorithm finds its applications in medical data transmission;the algorithm still requires profound improvement in terms of implementing the high intelligent algorithm.Future work can be extended to X dimensional hybrid chaotic system integrating the complex operations over the hybrid maps.

Acknowledgement:Thanks to the reviewing committee for their valuable points and notes.

Funding Statement:The author received no specific funding for this study.

Conflicts of Interest:The authors declare that they have no conflicts of interest to report regarding the present study.