Scinovex
article

Improvement of hill's classical method in image cryptography

Abstract

In this paper, we will introduce a new color image encryption algorithm. These images are of arbitrary sizes (n, m). This technique is based on a coupling of two chaotic maps; Namely, the logistics map and the PWLCM map. These two maps constructed and merged by a secret function f; which transforms two real from the interval [0 1] into number a real of the same interval. For confusion, we will use an improvement of the classical method of HILL. This improvement is none other than an affine transformation assured by a square matrix of order three with coefficient in the ring Z / 256Z. To this invertible matrix; we add a chaotic translation vector, this dynamic vector is modified at each iteration by another matrix of any order tree with coefficient in the ring Z / 256Z. A chaotic permutation in the ring Z / 3nmZ will be applied to the entire color image Finally, to avoid any differential attack, a new operating mode will be installed.The simulations carried out on the whole database showed that our new encryption technique is protected against any known attack

Full Text

Tables and figures are in the full-text PDF.

Introduction

The conventional logic card (1D) has been widely used in many color image encryption algorithms or grayscale, due to its simplicity of its good chaotic behavior. It has a strong entropy in its chaotic state. However, it allows only one control parameter and one initial value, which minimizes the key space. Moreover, some weaknesses have recently surfaced, as a non-uniformity of its distribution. Therefore, to divert the problem; A new interlaced map was constructed. This new map has several control parameters and more initial values. HILL's classical method [1][2] is generally applied to a clear text. This method consists of two major steps. The first is the decomposition of the text to be encrypted into blocks of the same size n, with (n, n) being the size of the square matrix invertible in the ring Z/26Z. This matrix considered as the symmetric encryption key has several disadvantages. The first is that it must remain secret, the second inconveniet lies on its transfer. Finally, the major disadvantage is the linear transformation. The second step consists in making the product of the blocks by the key matrix. This linear transformation is not adapted to the encryption of images because of the strong correlation of the pixels. On the other hand, this technique is not immune to statistical attacks [3] . Nowadays; Several approaches to improving the HILL method have been developed [4][5][6] . However, while these new approaches sometimes resist brutal and statistical attacks, this is not the case for differential attacks. So the majority of these algorithms are not immune to differential attacks, and this is due to the absence of the application of a welldefined chaining; for the realization of an avalanche effect [7 8] . On the other hand, in our approach, we used an affine transformation, assured by a matrix of order three with a coefficient in the ring Z/256Z. This matrix is chosen from a chaotic vector. To this matrix is added a vector of translation random, but modifiable at each iteration. This ensures good confusion. After this phase, one permutation is applied to the output vector. This chaotic permutation is determined by the transformation of any chaotic vector into permutation. Finally a new operating mode is installed, this mode is other than an improvement of the operatopire mode of encryption CBC [9] . This mode of chaining achieves a better avalanche effect and makes the crypto system safe from differential attacks.

The Proposed Encryption Method

This algorithm implements a new color image encryption technique. This model is based essentially on an improvement of the classical HILL method. Moreover, the new crypto system is articulated on three main axes:  Creating the necessary parameters to encrypt and decrypt the original image.  Encryption of the clear image  Decryption of the encrypted image a. Creating Encryption and Decryption Settings All parameters necessary for the proper functioning of the new algorithm are chosen from a new chaotic map. These three vectors named are RL, GL, BL. The new chaotic map is given by equation ( 1)

After exiberating all parameters of the vector CL; this last is converted into permutation in the ring Z/3nmZ. This transformation of a chaotic vector in a permutation is ensured by a sorting within the vector in ascending order in the broad sense. This method is described by the algorithm2.

Algorithm2: Conversion of vector CL in permutation vector CLP in H nm

Calculates the multiplicative inverse of in the ring Hn

An element  is said to be invertible in a unitary commutative ring if there exists  -1 an element of the same ring such that their product is equal to 1 that is to say

. The computation of the multiplicative inverse in the ring Hn is described by the algorithm2.

Algorithm2: Calculates the multiplicative inverse of

Encryption Of The Original Image

The encryption phase is based largely on confusion. This part is an improvement of HILL's classical method. It is an affine transformation provided by a matrix of order three invertible in the ring G. the improvement consists in the addition of a chaotic translation vector, this dynamic vector is transformed at each iteration by another affine mapping, This application is assured by any matrix of order three in G and another translation vector chosen from the CLP map. This operation is illustrated by figure1.

For a sudden recurrence of the parameters of the first phase of confusion, it is necessary at least 2 120 operations. All parameters are in the ring G. But only λ is an invertible element in the ring G. While, all the other elements are randomly chosen from the coupled map CLP. At the end of this first step, each color matrix is converted into a vector. These three vectors are concatenated to form a single Noisy vector CV of size (1,3 nm). This constructed vector will be permuted by the chaotic permutation to give the vector CVP. The new vector is determined by the algorithm4.

Algorithm4: Calculates the vector CVP

The Diffusion

To obtain a better avalanche effect, and thus avoid any differential attack, we will install a new mode of image encryption which is an improvement of the CBC mode. The latter uses an initial value IV determined by the algorithm 6, this value belongs to the ring the ring G will be converted to binary and then permuted by a chaotic permutation h in the ring Z / 8Z; This permutation is chosen randomly from the coupled card and then transformed into permutation by the algorithm1.This initialization value is replaced by the value of its position in the chaotic permutation vector PL. The new operating mode installed is illustrated in the figure 3. With h is a chaotic permutation in the ring H8

Comparison With Hill's Classical Method

An effective encryption system must guarantee high security against any type of attack. After simulations made on a database of different sized images, we notice that Hill's classic figure is incapable of correctly encrypting high-resolution images. Figure4 below shows the results of some simulations Therefore the classical method of HILL is not recommended for the encryption of images, and especially those with strong correlation

Weakness Of Hill's Classical Method

For color images with strong correlation between adjacent pixels and diagonal pixels, we notice that Hill's classical method is incapable of encrypting this type of image. Figure 5 confirms these statements.

The Clear Image

The Encrypted image by HILL's classical method We clearly see the ineffectiveness of the classical method of HILL for the encryption of images with strong correlation. Figure 6; Shows the efficiency of our method in the encryption of high correlation images

The Clear Image The Encrypted image by our method We see clearly that our system is capable of encrypting all kinds of images, even those that have a strong correllation.

Security Analysis Of The Crypto System a. Key space analysis

Our algorithm is based on the construction of the two chaotic maps, starting from four real numbers. This generates key space of the order of 2 256 bits. So any brutal attack requires at least 2256 operations. This means that our new algorithm is immune to a brutal attack. Any attack by reconstruction of the parameters necessary for the image encryption used by the system crypto requires at least 2 192 operations. This size saves the algorithm from any brutal attack

b. Statistical analysis

An image can first be seen as a statistical series with a single input. The statistical constants attached to this series are computed by the equation (7).

Entropy

c. Information entropy analysis

It is shown that the histogram of an image in each pixel is coded on 8 bits is uniformly distributed and only if its entropy E (M) = 8. Practically an encrypted image is protected against any attack by entropy if it is very Close to the maximum value 8. Table 1 below shows the results of the entropy simulations for the original images "Lena", "Babon", "Peppers" and "Man" extracted from the database and for their corresponding encrypted images The results of the simulation of the entropy of the encrypted images obtained in Table 1 whose values are very close to the ideal value 8 confirm the uniformity of the histograms of the encrypted images and prove resistivity to any attack by entropy.

d. Differential analysis

Table 3 below shows the results of the simulations of the differential analysis for original images extracted from the studied database. The differential constants are in the expected norms (NPCR neighbor of 99.46, UACI neighbor of 33.34) this puts the crypto system in the shelter of any differential attack.

Conclusion

In this article, we introduced a new color image encryption system. This new algorithm uses a coupling of two chaotic maps. This coupling is ensured by a secret function f. This map thus created is used to extract all the parameters necessary for the proper functioning of the crypto system. By an improvement of the classical method of HILL, which consists in the addition of a chaotic translation vector, this vector is modifiable at each iteration by an affine transformation. We were able to avoid any statistical and brutal attack. A new encryption mode is installed to give a better avalanche effect and thus a high security against any differential attack. This mode is other than an improvement of the CBC encryption procedure. The application of our approach on a large database of color images of different sizes and very varied showed the robustness of this new algorithm.

References

  1. Hill L. Cryptography in an Algebraic Alphabet, American Mathematical Monthly, 1929; 36:306-312
  2. Hill L. Concerning Certain Linear Transformation Apparatus of Cryptography, American Mathematical Monthly. 1931; 38:135-154
  3. Lin CH, Lee CY, Lee CY. Comments on Saeednia's improved scheme for the Hill cipher, Journal of the Chinese institute of engineers, 2004; 27(5):743-746,
  4. Bibhudendra Acharya1, Saroj Kumar Panigrahy, Sarat Kumar Patra, Ganapati Panda. Image Encryption Using Advanced Hill Cipher Algorithm Int. J. of Recent Trends in Engineering and Technology, 2009; 1(1).
  5. Hill LS. Cryptography in an Algebraic Alphabet American Mathematical Monthly, 1929; 36:306
  6. Li C, Zhang D, Chen G. Cryptanalysis of an image encryption scheme based on the Hill cipher. Journal of Zhejiang University -Science A. 2008; 9:1118-1123.
  7. Mohsen Toorani, Abolfazl Falahati. A secure variant of the Hill cipher. IEEE 2009, 313-316
  8. Generation Methods for Hill Cipher System, IEEE Alvarez G. Some basic cryptographic requirements for, 2006.
Chaos-based Image/Signal EncryptionCryptographic Implementations and SecurityQuantum chaos and dynamical systemsEncryptionChaoticCryptographyAlgorithmAffine transformationInvertible matrix
Citations
11
FWCI
0.28
field-weighted impact
References
0
Percentile
67%
vs. same field & year
Citations per year

Cited by 11

From OpenAlex, OpenCitations and reference lists read by Scinovex

  • Further improvement of the HILL method applied in image encryption ↗

    Mohamed Jarjar, Saïd Najah, Khalid Zenkouar, Said Hraoui · International Conference on Innovative Research in Applied Science, Engineering and Technology (IRASET) · 2020

    In this article, a new encryption system that takes as an input an arbitrary size color image (n, m), and generates an encrypted image of the same size at the output, will be proposed. On each three-pixel block, an improvement of the classical HILL method provided by a size matrix (3, 3) invertible in the Z/256Z ring, accompanied by a…

    ❝ 15
  • Two Feistel rounds in image cryptography acting at the nucleotide level exploiting dna and rna property ↗

    Abdellatif Jarjar · SN Applied Sciences · 2019

    ❝ 10PDF
  • Two Enhanced Feistel Steps for Medical Image Encryption ↗

    Abdellah Abid, Younes Qobbi, Abdellhamid Benazzi, Mariem Jarjar, Abdellatif Jarjar · IEEE International Conference on Electronics, Control, Optimization and Computer Science (ICECOCS) · 2022

    In this paper, we will develop a new method for color image encryption, based on an improved Feistel scheme designed from chaotic maps. After having vectorized the image, we subdivide the vector into a block of even size, we will apply two rounds of improved Feistel, which implements a chaotic permutation and a linear transformation provided by a not necessarily…

    ❝ 6
  • Two advanced classics exploiting DNA and RNA characteristics to encrypt a color image ↗

    Abdellatif Jarjar · Multimedia Tools and Applications · 2021

    ❝ 3
  • Image Encryption Using Hybrid Cryptographic System Incorporating Three Improved Standards ↗

    Abdellatif Jarjar · Sensing and Imaging · 2021

    ❝ 2
  • Instructions New Technology of Color Image Encryption Based Two Improved Vigenere Laps Separated by a Genetic Mutation ↗

    Mohamed Jarjar, Said Hraoui, Saïd Najah, Khalid Zenkouar · International Journal of Safety and Security Engineering · 2021

    This document traces the development of a new cryptosystem using two circuits ensured by a deep Vigenere classical technique improvement. This new technique employs several dynamic substitutions matrices attached to chaotic replacement functions; whose construction will be detailed. The first round will start by modifying the seed pixels based on the initial values calculated from the original image, and will…

    ❝ 2PDF
  • Multiple image encryption acting at the RNA level ↗

    Mariem Jarjar, Abdellah Abid, Hicham Rrghout, Mourad Kattass, Abdellatif Jarjar, Abdellhamid Benazzi · Medical Imaging Process & Technology · 2024

    The purpose of this research is to develop a new method for encrypting multiple superimposed or side-by-side images. The process begins by extracting the red, green, and blue channels from each image and converting them into vectors that combine to produce a single image that undergoes an advanced pixel-level Vigenere transform. In the next step, a pseudorandom transition occurs at…

    ❝ 1PDF
  • Vigenere Followed by Multiple Bit-Level Permutations to Encrypt a Color Image ↗

    Abdellatif Jarjar · Preprints.org · 2021

    The largest part of the image encryption algorithms operates on the pixel as a central element by implementing diffusion confusion and eventually a permutation. On the other side, a permutation applied at the bit level changes not only the pixel value, but also its location within the image. In this work, we will propose a new technology of medical and…

    ❝ 1PDF
  • Connection of Two Conventional Enhanced to Encrypt Color Images ↗

    Said Hraoui, Abdellatif Jarjar · Preprints.org · 2021

    This document introduces a new cryptosystem mixing two improvement standards generally used for text encryption, in order to give birth a new color image encryption algorithm capable of dealing with known attacks. Firstly, two substitution matrixes attached to a strong replacement function will be generated for advanced Vigenere technique application. At the end of this first round, the output vector…

    ❝ 0PDF
  • A New image encryption technology implementing a big random S-Box ↗

    Mohamed Jarjar, Said Hraoui, Saïd Najah, Khalid Zenkouar · International Conference on Intelligent Computing in Data Sciences (ICDS) · 2020

    This paper traces the implementation of a new chaos-based color image encryption system using three different substitution matrices as a profound improvement of Vigenère's classical method. After vectorizing the clear image and computing an initialization value to modify the value of the first pixel and start the encryption process, each pixel is successively confused by the three S-boxes generated from…

    ❝ 0
  • New chaotic map and its application in encrypted color image

    Abdellatif Jarjar · International Journal of Statistics and Applied Mathematics · 2016

    This paper traces the process of constructing a new one-dimensional chaotic map, and will provide a simple application in color image encryption. The use of Sakovskii's theorem will make it possible to determine the existence of chaos and restrict all conditions to ensure the existence of this new sequence. In addition, the sensitivity to initial conditions will be proved by Lyapunov's index value. Similarly, the performance of this new chaotic map will be illustrated graphically and compared with other chaotic maps most commonly used in cryptography. Finally, a humble color image encryption a

    ❝ 0PDFOn ScinovexFound by Scinovex
Citation Network

How this paper connects to the literature. Drag to explore, click any node to open that paper.