Modelling and Simulation in Engineering

Volume 2017, Article ID 7470204, 12 pages

https://doi.org/10.1155/2017/7470204

## A Fast Enhanced Secure Image Chaotic Cryptosystem Based on Hybrid Chaotic Magic Transform

^{1}School of Information Technology and Engineering, VIT University, Tamil Nadu, India^{2}School of Computer Science and Engineering, VIT University, Tamil Nadu, India

Correspondence should be addressed to V. Madhu Viswanatham; ni.ca.tiv@mahtanawsivuhdamv

Received 25 August 2016; Revised 26 October 2016; Accepted 20 November 2016; Published 4 January 2017

Academic Editor: Aiguo Song

Copyright © 2017 Srinivas Koppu and V. Madhu Viswanatham. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

An enhanced secure image chaotic cryptosystem has been proposed based on hybrid CMT-Lanczos algorithm. We have achieved fast encryption and decryption along with privacy of images. The pseudorandom generator has been used along with Lanczos algorithm to generate root characteristics and eigenvectors. Using hybrid CMT image, pixels are shuffled to accomplish excellent randomness. Compared with existing methods, the proposed method had more robustness to various attacks: brute-force attack, known cipher plaintext, chosen-plaintext, security key space, key sensitivity, correlation analysis and information entropy, and differential attacks. Simulation results show that the proposed methods give better result in protecting images with low-time complexity.

#### 1. Introduction

With the rapid growth and application demand of multimedia data in open channels including Internet and wireless networks in recent decades, image security is one of the essential frameworks to provide the security for image transmission over the communication channels. Multimedia data have become one of the most popular media types and are now used extensively in various fields such as politics, economics, defense, and education. Then, because of data transmission of open channels, image transmission security is subject to potential attacks. Also exchange of medical image data has become a more important aspect of security in recent decades. For instance, radiological and surgical radios are more popular in the telemedicine. Patient medical reports are needed to be carried from one medical data storage system to another for better treatment. So if we do not have privacy for data while transmission, this may cause wrong diagnosis. When we are sharing the patient information over wireless or wired communication networks, the security is more prominent. General security services are confidentiality, authentication, and integrity [1]. There are security fields available to provide security for image such as image steganography, watermarking, cryptography, and hybrid algorithms. Image encryption and decryption techniques based on public cryptographic and private cryptographic methods are not optimized for medical image security due to intrinsic characters: being time-consuming and recovering image in the original image, due to more pixels replication, strong pixel relation between adjacent pixels, and so forth. DES, AES, RSA, IDEA, RC2, RC4, GOST, and SAFEN may not good for encryption and decryption in fast communication applications because they may require more computational resources in the form of hardware and software. DES, AES, and IDEA had low-level efficiency in encryption and decryption process. However, these algorithms are more useful in text based encryption. Telemedicine had benefits: restorative medical research, remote special clinical diagnosis, unexpected incidents handling in time, patient information on immediate demand, and enhancing the communication between partners in health care systems.

#### 2. Literature Survey

The work by [2] employs a 3-dimensional cat map, to shuffle the image pixels and uses the logistic map to diffuse the image. In this paper, the authors addressed attacks such as statistical and differential attacks. Spatial permutation does not fit for pixel value modification in the image, but it makes changes in pixel positions.

Reference [3] applied a point-based interaction methods effectively and feasibly to generate tangible textures from static images and implemented a haptic virtual environment based on the OpenGL and PHANTOM Omni haptic device for the size of input image 128 × 128. However, the proposed work did not concentrate on security issues.

The work by [4] explains a technique for image authentication, based on adding signal-dependent noise, while taking input image hidden noise was embedded into an image based on film grain noise model. Later, original image and noise are extracted for authentication purpose. Here, few attacks are addressed such as robust against content-preserving modifications, additive Gaussian noise, local denoising, and detecting of malicious tampering. Future work of this paper is to design an efficient noise filter for estimating the original image statistics.

In [5], the authors presented a 2D image encryption method based on balanced 2-Dimensional Cellular Automata (2DCA). Random image and original image are encrypted by pseudorandom number generator with a kernel value. The advantages are as follows: fast in encryption, low-cost, and large-size secret key. Attacks addressed are such as statistical analysis, correlation coefficients, histogram analysis, confusion analysis, NPCR analysis, and information entropy.

In [6], a new image encryption has been proposed based on chaotic Josephus matrix, which extends the conventional Josephus traversing method. The future work of this paper can be applied to audio and video files for security purpose. In [7], Lorenz Chaotic Scheme (LCS) and Chen’s hyperchaotic (CHC) method along with DNA sequences for an image encryption algorithm that can dynamically select eight types of DNA encryption rules and eight types of DNA addition and subtraction rules are used. LCS was used to generate the chaotic sequences to scramble the image. CHC and DNA are used for image diffusion. Here, key size is 8.4 × 10^{128}. However, authors have not addressed security issues: histogram analysis, pixel correlation, chart test, and entropy. In [8], a new cross-layer unequal error protection (UEP) is introduced which reduces image encryption overhead and controls the image bit stream structure to deliver the image data in wireless sensor networks. This paper assures energy competence and image security and quality over the image transmission in wireless network channels. But, the authors did not express their works on security issues such as brute-force attack, key space analysis, histogram analysis, pixel correlation, chaotic test, and entropy.

Reference [9] concentrates on open source EHRs along with parameters such as strengths, weaknesses, opportunities, threats of Electronic Health Record (EHR) over open source EHRs, and security services which are also not addressed. The work explained by [10] uses chaos mapping function to improve sensitivity of the initial state, pixel position changed by iterative function, and XOR operations for diffusion. This paper combines chaos theory and iterative equations based balanced pixel algorithm to decide the number of iterations for the image encryption and resultant low speed in image encryption. The authors addressed in [11] tree proxy-based and service-oriented access control system (TPSACS) to fix secure detection of multimedia events in an online environment. 1000 objects set as event block have been proposed to fix the scale robust illustration issue in online services. The future work can be applied in action recognition. However, security services are not addressed.

Reference [12] proposed Tangent-Delay Ellipse Reflecting Cavity-Map System (TD-ERC), wavelet neural networks (WNN), and XOR operations on binary data that achieves cipher image. Here, addressed attacks are as follows: key size being 10195, histogram analysis, correlation analysis, and differential analysis. The proposed system can be applied to provide security for information. Reference [13] introduced symmetric chaotic economic map (CEM) with key space 1084, the entropy that closes to ideal value 8, and low coefficient correlation that closes to 0. Initially, CEM generated a chaotic sequence with fraction decimal values to integers. Addressed attacks are key sensitivity analysis, correlation analysis, and analysis of information entropy.

In 2016, Kanso and Ghebleh [14] selected chaotic cat map algorithm used for medical image security applications with rounds and each round has two phases: shuffling and masking, applied for block level as well as full image. The masking phase of each round uses a pseudorandom matrix of the same size as the input image to increase processing speed. Statistical cryptanalytic attacks such as key search and differential attacks are analyzed for medical image robustness. Same encryption and decryption technique are applied for ROI as well as for full image and also achieved the same level of security in ROI and full image. Analyzed brute-force attack by considering key space is large. However, the author has not addressed decrypted image quality and information entropy.

In [15], 2-Dimensional Chaotic Map (2CDM) has been converted to 3-dimensional cat map (3DCM) for fast design and secure private image encryption with 128 bits. Generally, the good cipher image will have less correlation among pixels. Here, analyzed attacks are as follows: statistical and differential attacks. However, brute-force and correlation of image attacks are not addressed. This one is suitable for real-time Internet image security and telemedicine.

In [16], a novel image encryption Using 3-dimensional Arnold cat map defends brute-force attack, chosen-plaintext attack, statistical attack, and also image noise: salt and pepper noise, Gaussian noise, and low-pass filter attacks. Time taken for encryption and decryption process for Lenna image (with 256 × 256 sizes) was 0.007 and 0.012 seconds, respectively. But, chi-square test, pixels correlation, key space, and entropy are not addressed.

Reference [17] proposed pseudorandom permutation–substitution method for image encryption based on loss-less symmetric block cipher. The main design of proposed method was to provide security for color image. Computation speed of encryption process has been increased by directly shuffling row by row and column by column instead of pixel by pixel. Security parameters are considered in the proposed method: the histograms, correlation coefficients, information entropy, key sensitivity analysis, differential analysis, and key space analysis. Further, this method can be used in video encryption and grayscale images.

In [18], chaos based image encryption by using stream cipher and pseudorandom generator is based on cascade of chaotic maps. DES, AES, RSA, and IDEA may not be good for encryption in fast communication applications because they may require more computational resources in the form of hardware and software. In this method, initially, input image converts into binary bit stream and is masked with pseudorandom key generator; then encryption image was constructed. For fast pseudorandom key generator, finite precision exemplification and fixed point arithmetic are espoused. Resisted statistical attacks, color histogram for RGB Lenna image, correlation of adjacent pixels in vertical, horizontal, and diagonal directions, and brute-force attack are addressed by taking 192-bit key.

In [19], Region of Interest (ROI) is used as water marking and encrypted by linear feed backshift register using stream cipher mode with 64-bit private and public key, embedded into medical image by spread spectrum method. Second-time encryption had been done by Diffie-Hellman algorithm. In this paper, the authors have used medical images modalities: MRI, CT-scan, and X-ray. However, these approaches have a drawback as they could not recover original medical image.

In [20], high security visual encryption algorithms had been proposed with two-level encryption strategies: in first level, image pixels had been shuffled with row-wise and column-wise permutation based on tent map so that it affects visual perception. In second level, diffusion was applied for shuffled image with 4D hyperchaotic Chen systems. Pixel correlation was truncated and procured privacy for patient image with tent maps. Hyperchaotic security system had dynamic features compared with other conventional chaotic methods. Image security measurements considered are as follows: statistical analysis, chi-square test, pixels correlation, key space, and entropy. In this paper, authors used input image modalities: MRI images with 568 × 568, CT-scan abdomen image with 512 × 512, and X-ray angiography with 1024 × 1024 sizes for experiments and they suffered from low speed process.

In [21], DICOM image format is used to achieve security over Internet transmission. DICOM has two attributes: header attribute and pixel data. With help of digital signature, authenticity and integrity had been obtained on pixel data for basic level. However, confidentiality of the pixel data has not been addressed in confidentiality profile in DICOM. Advanced Encryption Standard-Galois Counter Mode (AES-GCM), the Whirlpool hash function, and the Elliptic Curve Digital Signature Algorithm provide confidentiality, authenticity, and integrity for header and pixel values of DICOM. With lack of confidentiality, sometimes, plain image will get interfered, condensed, and edited. With lack of digital signature, anyone may edit an image by using tools which may lead to improper result in diagnostic process for medical experts. Limitations in [21] are addressed by Kobayashi et al. [22] scheme. Data pixel confidentiality is achieved by using encryption standard in DICOM header. However, keys are stored in DICOM header without encryption, so it may not give confidentiality assurance. Kobayashi et al. scheme does not provide confidentiality, authenticity, and integrity for the DICOM header data. However, this approach takes more time for encryption and decryption on large-size IVUS images.

In [23], authenticity and integrity (AIDM) had four modules: preprocessing module, image hashing module, data encryption, and data embedding. RSAREF free tool kit was used for data encryption. Future work of the proposed algorithm is to improve the speed in encryption-decryption process and key management. Digital signature and MD5 are used for verification authenticity and integrity. [24] Symmetric encryption algorithms are used for electronic patient records (EPR). Bipolar TER Multiple Base was developed, which provides basic security services: integrity, authentication, and confidentiality. Time complexity is O (N). However, the proposed approach is suffering from lack of security.

In [25], AES-GCM is faster than conventional methods such as AES CBC + HMAC-SHA1, AES CBC + HMAC-SHA256, and RC4-SHA1. Whirlpool hash function is more powerful than MD5, SHA-1, SHA-224, SHA-256, and SHA-384. SHA-512 and Whirlpool had the same strengths in security. [1] Matrix Array symmetric-Key Encryption (MASK) was applied for image encryption based on a private key and it is faster than AES algorithm. 128 bits are used as key size and image block size. But, key size is less and leads to brute-force attack. In [26], McEliece public cryptosystems and Sequitur compression technique are used for medical images, yielding better efficiency than RSA cryptosystems. Authenticated image encryption was achieved without digital signature. McEliece public cryptosystem has better adeptness and security than RSA algorithm. However, the used methods did not analyze statistical and differential attacks, brute-force, and correlation.

Image is encrypted with secret key and secret key encrypted with public key technique [27]. The major issue is key distribution at the same time we have to transfer encrypted image and encrypted key over a network. In this paper, hybrid method is proposed based on cryptosystems and DCT water marking method. The image encryption has been done with either stream or block cipher. Sometimes block cipher is not feasible due to lack of robustness and homogenous regions. Stream ciphers are robust to adequate JPEG compression noise. Stream cipher examples are: RC4, one-time pad or Vernam cipher, and so forth. Result obtained with PSNR is 43.71 dB.

In [28], used digital envelope (DE), digital signature, and encrypted patient information from DICOM header are embedded as invisible water mark in image for authentication, confidentiality, integrity in atmosphere of picture archiving and communication systems (PACS). DE processing has taken more time to be embedded in image and DE is very expensive because of stream cipher encryption. However, this method did not concentrate on DICOM header security. Reference [29] proposed new 2D-sine logistic modulation maps (2D-SLMM) based on logistic and sine maps with efficient image pixel shuffling algorithm known as Chaotic Magic Transform (CMT) to derive random pixel property encryption image. In digital images, usually high redundancy data will be there, due to high correlation of pixels, to break these correlations CMT used. CMT changes pixels values in random position. 2D chaotic maps have good performance in terms of generating chaotic sequence than 1D chaotic map, but they need relatively complex hardware structure and cost. CMT performance is better at shuffling than early chaotic maps. Chaotic performance is analyzed by the following parameters: trajectory, Lyapunov exponent, and Lyapunov dimension and Kolmogorov entropy surviving chaotic maps are broadly classified into 1D chaotic maps and high-dimensional maps. 1D map has one variable and few attributes with simple design structure, for example, logistic, sine, Gaussian, and tent maps. CMT-IEA is based on asymmetric cryptosystems. HD chaotic maps shall have minimum of two attributes with complex structure which gives more chaotic enactment, for example, Henon map, Lorenz map systems, and Chee-Lee systems.

Reference [30] used chaotic schema with linear congruence based on pseudorandom numbers generation, that is, coupling of chaotic function with XOR operations during encryption process to achieve randomness in cipher image and large key space to resist brute-force attack. If the image has high correlation with adjacent pixel values, they need to increase the quality of cipher image during encryption and decryption process. In order to address the high correlation problem, we need to mix and change the values of pixels simultaneously. However, authors did not concentrate on floating point values while doing encryption and decryption process.

In [31], chaos based cryptosystem was proposed in 1989. Chaos properties are as follows: sensitive dependence, initial conditions and system parameters, pseudorandom property, nonperiodicity, and topological transitivity. In this system, plan image is shuffled by logistic 1D map and encrypted with hyperchaotic systems which is based on Chen’s chaotic system. Brute-force attack was considered. But, this paper suffers from statistical attack, histogram metric, entropy, and chi-square test. Most of the chaos based security techniques suffered from chosen-plaintext attack [32]. Based on three 1D chaotic methods, logistic, tent, and sine map, utilizing the same arrangement of security keys, the proposed method has the capacity to produce a totally diverse encrypted image every time when it is applied to the original image.

In [33], new parametric switching chaotic system using sine map and tent map is controlled by logistic map. The output of the logistic map decides to choose either the sine map or the tent map as a generator to deliver PSCS’s output bit sequence. Some attacks addressed are as follows: brute-force attack, security key space, key sensitivity, correlation analysis and information entropy, differential attacks, Gaussian noise, salt and pepper noise, and so forth. However, chosen-plaintext and cipher plaintext were not addressed.

In [34], C.-J. Cheng and C.-B. Cheng proposed asymmetric image encryption method based on unified chaotic system, Lyapunov stability theory, and a cellular neural network-adaptive controller with its parameter update law. In this paper, the authors considered key space analysis, a sensitivity, test and statistical analysis. In [33, 34], chosen-plaintext and cipher plaintext were not addressed. However, simulations results are not shown in real-time applications.

In [35], chaotic map lattices (CML) had weakness: conversation of floating values into pixel value which leads to data loss in image. Improved CML was proposed by Jasteazebski and Kotulski based on CBC method but lacks from various security services such as noise attacks, differential attacks, and statistical attacks. Image encryption conceals some particular issues, for example, huge size of image pixels and redundancy. In some cases, the value of pixel in encryption process will depend on the neighboured pixel value, that is, pixels blocks. However, the key size is small, which may give brute-force attack. In this paper, the authors considered time complexity, space complexity, noise attacks, differential attacks, statistical attacks, and so forth. In medical image, encryption has been developed based on modular arithmetic operator [36]. In [37], the proposed technique has four differential chaotic systems, yielding image confusion. In [38], chaos based image encryption has been applied for bit planes based on pseudorandom binary number generator. The authors addressed speed and time issues. However, it lacks various security services such as noise attacks, differential attacks, and statistical attacks.

Baker map has been proposed [39] to represent real number while doing encryption and decryption process. Block level image encryption based on self-invertible matrices with two mere different keys [40]. Color images are divided into the three subband array of images: red, green, and blue are jumbled by Fibonacci Transformation (FT) and encrypted with hybrid cellular automata [41]. Medical image security is using Game of Life (GoL) and DNA sequence in DWT and spatial domain [42]. However, noise attacks, chosen-plaintext attacks, differential attacks, and statistical attacks are not addressed.

##### 2.1. Review

Nowadays, most of the researchers have proposed a cryptographic system based on spatial and frequency domain image encryption methods which are not suitable for efficient image encryption. Chaotic research for an image encryption has a vital significance due to sensitive dependencies on initial conditions, system parameters, random behavior, nonperiodic and topological transitivity, and so forth; chaotic systems are used for image encryption that cannot be recognized by malicious users. Even if the attacker is intercepted, the image will not be identified so that it can transfer successfully over the Internet which guarantees the security of image communication. Most of the papers have not addressed security services such as pixel correlation, chosen-plaintext attack, cipher attack, histogram analysis, and entropy [24–28]. The proposed methods are described in Sections 3 and 4 along with experimental results. In Section 3, we have described hybrid CMT (HCMT) which gives more robustness for protecting the images from various attacks like key space analysis, key sensitivity, pixel correlation, histogram analysis, chosen-plaintext attack, cipher attack entropy, and noise analysis.

#### 3. Proposed Method

The main idea to encrypt a plain image is to permutate the positions of pixels and to conceal the values of pixels via different methods commonly. The two-dimensional feature of the image is employed in our encryption scheme compared with traditional encryption schemes. HCMT-EE is a lightweight image encryption method based on hybrid CMT with Lanczos algorithm. This shows better experimental results than [2, 6, 28, 42]. This paper presents Hybrid Chaotic Magic Transform (HCMT), liner congruential generator (LCG), and Lanczos algorithm to build a fast enhanced secure image chaotic cryptosystem. Input plain image is given to the HCMT as shown in Figure 3. HCMT has four steps: image column pixel values are sorted in ascending order and performed a row sorting. Pixel confusion phase achieves confusion property by randomly shuffling all pixel positions, obtaining confused image .

The pseudorandom generator has used to generate key () with a size of host image . This key () is given to the Lanczos algorithm to find the vector characteristics, which improve the key space and enhance security against the potential attacks. Cipher image () is obtained by performing the multiplication operation between key vectors () and confused image ().

##### 3.1. Hybrid Chaotic Magic Transform

The aim of adapted encryption algorithm is to confuse the position of pixels for each block of the image based on the following steps:

Hybrid CMT (Chaotic Magic Transform) algorithm shuffles matrix [29]:(1)Sort each column of in ascending order to obtain sorted matrix .(2)Generate shuffled index matrix by connecting the pixels in with locations , with respect to CO.(3)The pixel shuffling process is done by shuffling the pixels positions to the right in the clockwise directions. HCMT used the right direction in the clockwise directions which enables shuffling image pixels quickly in both the row and column directions at the same time. Experimental results and security analysis show that the proposed HCMT-EE can encrypt different types of digital images with a high level of security with low-time complexity. Image pixel shifting has four steps: in the first iteration, we have shifted only one pixel position to the right. In the second iteration, we have shifted to two pixel positions in the right direction. In the third iteration, three pixel positions are shifted. In the fourth iteration, four pixel positions are shifted. The clockwise direction pixel shifting gave more image randomness than left clockwise shifting method with fast encryption speed.(4)The resultant shuffled matrix is .

The shuffling process is done by using the hybrid CMT algorithm; here, random chaotic matrix with size is used to produce the shuffled index matrix of size , where index matrix is defined by Let be the original image with size and be the resultant shuffled image. The pixel shuffling process of the original image is defined byFigures 1 and 2 are the example of CMT process. Figure 1 shows the generation of shuffled indexed matrix from chaotic matrix . As shown in Figure 1, sorted matrix is generated by sorting each column of chaotic matrix in ascending order. The index matrix shows the position of data where they are permuted from chaotic matrix . Figure 2 shows the pixel shuffling process where is the original image matrix and is the resultant shuffled matrix obtained from HCMT.