1. Introduction and Preliminaries
The notion of cellular automaton was originated by Von Neumann and S. Ulam [1], and it can be defined as a simple computational model capable of simulating complex phenomena. This concept was popularized in the seventies by M. Gardner with John Conway’s Game of Life [2], and was brought into academic fashion by S. Wolfram [3] in the eighties. Since then, cellular automata have been extensively analyzed, and not only from a theoretical perspective [4,5]; they have also been used to simulate different phenomena [6,7,8].
One can find different definitions of cellular automaton depending on the perspective [9]. J. Kari defines them as ultradiscrete dynamical systems that consist of a finite collection of state automata (called cells) that are endowed with a state at every time step and these states change according to a local transition function. The variables of this function are the states at the previous step of time of the cell itself and its neighborhood.
More precisely, a cellular automaton over the finite field is given by a 3-uplet , such that is the cellular space, f is the local transition function, and is the neighborhood. Specifically, is formed by n cells that are arranged uniformly in a one-dimensional lattice. Each of them is endowed with a state from that changes at every step of time according to a local transition function f. Specifically, if stands for the state of the i-th cell at time t, then
(1)
where , and represent the neighborhood of the i-th cell. As the cellular space is constituted by n cells (the cellular space is finite), some type of boundary conditions must be stated in order to define the dynamics of the system in a proper way. This work deals with null boundary conditions, that is, for each t when .The cellular automaton is linear when its local transition function f is linear. Moreover, a linear cellular automaton is said to be symmetric of radius r if . Consequently, its local transition function is
(2)
This cellular automaton will be denoted by . Note that we are dealing with 1D boolean cellular automata.
If is the global configuration of at step of time t, the local transition function leads to global transition function F, such that
(3)
The graphical illustration of the global evolution of a CA can be obtained using the simple evolution diagram and the global state transition diagram. The evolution diagram is a two-dimensional grid, where the rows represent the configurations of the cellular automaton (that are sequentially computed from the initial configuration) such that the color of each site is black for state 1 or white for state 0. On the other hand, the global state transition diagram can be defined as a directed graph whose nodes represent the configurations of the cellular automaton and whose edges represent transformations .
If the global transition function F is bijective, the cellular automaton is said to be reversible. Thus, the evolution backwards can be computed by means of the inverse cellular automaton whose global transition function is [10,11]. Reversibility is probably the most studied property of cellular automata; not only have several theoretical works appeared (see, for example, works by the authors of [12,13,14,15,16]), but different applications based on this property have also been proposed (see, for example, work by the authors of [17,18,19,20]).
The reversibility problem for symmetric linear cellular automata endowed with periodic boundary conditions has been tackled in several works [21,22,23,24] and completely solved by I. Siap, H. Akin, and M.E. Koroglu [25] and the explicit expressions for the inverse of a reversible cellular automaton with -cyclic rule are given in the work by the authors of [23]. On the other hand, in the case of null boundary conditions, the cases and have been tackled in works by the authors of [26,27]; moreover, in the work by the authors of [28], it is shown that the symmetric linear cellular automaton of radius r, whose cellular space is formed by cells, is reversible.
The main objective of this work is to completely solve the reversibility problem for the symmetric linear cellular automaton with n cells and radius , which is denoted by . Specifically, the explicit expressions of the local transition matrices of the inverse cellular automata are computed, and an illustrative application of this result to the encryption of digital images is proposed.
The rest of the paper is organized as follows. Section 2 is devoted to introduce the particular characteristics of symmetric cellular automata with radius and endowed with null boundary conditions; the reversibility problem is tackled in Section 3. In Section 4, some potential applications in the field of digital image encryption are shown. Finally, the conclusions are presented in Section 5.
2. The Symmetric Linear Cellular Automata with
The explicit expression of the local transition function of the symmetric cellular automaton with radius and n cells, , is as follows.
(4)
If , is the global configuration of the cellular automaton at step of time t, then its global evolution is given by
(5)
where is the local transition matrix. If null boundary conditions are considered, then is a band matrix of order n with bandwidth whose coefficients inside the band are all equal to 1, that is,(6)
In Figure 1a, the evolution state diagram of the cellular automaton is shown when the initial configuration is given by . Furthermore, in Figure 1b, the evolution state diagram associated to is introduced when the initial configuration is randomly defined.
3. The Reversibility Problem
Taking into account the notion of reversibility and the interpretation of the dynamics of in terms of linear algebra, this cellular automaton is said to be reversible when its local transition matrix is nonsingular, and consequently its inverse is the local transition matrix of the inverse cellular automaton. Consequently, in this case, the order and characteristics of the transition matrix determine the reversibility of the cellular automata. For example, and are reversible, whereas is not. In Figure 2 and Figure 3, the global state transition diagrams of and are shown; note that as they are reversible, each configuration has a unique predecessor. In this case, each configuration is represented by the number . Conversely, is not reversible, and some configurations in the global state transition diagram have more than one predecessor (see Figure 4).
Specifically, the following result holds.
The symmetric linear cellular automaton with , , is reversible if and only if or , with .
Assume that the arithmetic is performed in and set the transition matrix of . From Lemma (2) of the work by the authors of [28], it is . Consequently, if with and , then . A simple computation shows that
(7)
Consequently,
(8)
thus finishing, taking . □Furthermore, it is possible to compute in an explicit way the expression of the inverse cellular automata as follows.
(1) The local transition matrix of the inverse cellular automaton when is
(9)
where(10)
(2) The local transition matrix of the inverse cellular automaton when is
(11)
where(12)
(13)
(14)
(15)
(1) For the sake of simplicity, we can suppose that where is defined as follows.
(16)
On the other hand, set
(17)
the local transition matrix of the CA , such that(18)
with(19)
Then we have to proof that .
First of all, suppose that such that , then
(20)
Now, we can distinguish five cases depending on the values of subindices i and j:
(a). Assume , then
(21)
since when . Then, taking into account Equations (16) and (18), it is(22)
(b). Suppose that (the coefficients of the first upper diagonal of ), then from Equations (16) and (18) we obtain
(23)
(c). If (the coefficients of the first lower diagonal of ), then, using Equations (16) and (18), the following result holds.
(24)
(d). Now we will compute the coefficients with and corresponding to the entries below the first lower diagonal. In this case
(25)
(e). Finally consider the coefficients above the first upper diagonal, with and . A similar calculus shows that
(26)
Consequently,
(27)
thus . In a similar way, one can check that .(2) First of all, note that the local transition matrix of the inverse cellular automaton can be expressed in terms of a block matrix, as follows.
(28)
where . On the other hand, it is also easy to check that(29)
where(30)
To finish the proof, we have to prove that Note that
(31)
Now, by recurrence over k it is easy to check that
(32)
(33)
(34)
(35)
thus finishing. A similar argument shows that . □4. A Potential Application to Image Encryption
This section introduces a possible application for image encryption of the theoretical results shown in Section 3. J. Fridrich proposed a methodology to design cryptographic protocols for digital images consisting of the successive application of two phases: the confusion phase and the diffusion phase [29]. In the confusion phase, all pixels of the digital image are permuted without changing its numerical color code (that is the histogram of the image remains constant), whereas, in the diffusion phase, the color code of each pixel is modified according to different mathematical techniques. This paradigm has been considered in the great majority of digital image encryption protocols proposed in the scientific literature (see, for example, works by the authors of [30,31]).
A gray-scale digital image can be interpreted as an matrix , where the coefficient represents the numeric value of the gray level assigned to pixel . On the other hand, an RGB color digital image is defined by means of an array of dimension , such that . In this case, the coordinates of denote the intensity of each color (red, green, and blue, respectively) as an integer between 0 and 255.
The reversibility of (whose global transition function is denoted by ) shown in the last section allows defining a byte-level transformation that could be used as a part of the diffusion phase of an encryption algorithm for both gray-scale and RGB color digital images. It is defined as follows.
(a). If stands for the matrix associated to a gray-scale image, then the transformed image is defined by the matrix , is the decimal expression associated to , is the binary expression (one byte) associated to , and .
(b). If is the array representing an RGB color digital image, then determines the transformed digital image, such that with
(36)
(37)
(38)
where and are the binary expressions of , and , and , respectively.
In Figure 5 and Figure 6, two illustrative examples of this technique are shown. As the global state transition diagram of exhibits 16 cycles of length 14, four cycles of length 7, and four time-invariant configurations (see Figure 3), is a periodic transformation of period 14. As a consequence, the original image is recovered after 14 iterations.
It is important to note that this transformation by itself is not secure against cryptanalysis (see, for example, the homogeneous patterns exhibited by some transformed images in the examples). In this sense, it is necessary to include it as a part of a more complex algorithm.
5. Conclusions
In this work, the reversibility problem for symmetric linear cellular automata with n cells, radius , and state set has been completely solved. Specifically, it is shown that these 1D boolean cellular automata are reversible when or with , and, in these cases, the explicit expressions of the inverse cellular automata are derived in terms of the local transition matrices.
Furthermore, a potential application to Cryptography has been presented. Specifically, these reversible cellular automata can be used as additional transformations to be applied in the diffusion phase of a digital image encryption algorithm.
Future work aims at exploring other applications of reversible cellular automata, such as voting systems, data compression, etc.
Author Contributions
A.M.d.R., R.C.V., and D.H.S. conceived and designed the study and A.M.d.R. performed the computational implementations. The paper has been written, edited, and revised by all authors.
Funding
This research was funded by Ministerio de Ciencia, Innovación y Universidades (MCIU, Spain), Agencia Estatal de Investigación (AEI, Spain), and Fondo Europeo de Desarrollo Regional (FEDER, UE) under project TIN2017-84844-C2-2-R (MAGERAN) and project SA054G18 supported by Consejería de Educación (Junta de Castilla y León, Spain).
Acknowledgments
The authors want to thank the anonymous referees for their valuable suggestions and comments.
Conflicts of Interest
The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.
Figures
Figure 1. (a) Evolution diagram of A201,3 when C0=0,⋯(100),0,1,0,⋯(100),0. (b) Evolution diagram of A201,3 when the initial configuration is selected at random.
You have requested "on-the-fly" machine translation of selected content from our databases. This functionality is provided solely for your convenience and is in no way intended to replace human translation. Show full disclaimer
Neither ProQuest nor its licensors make any representations or warranties with respect to the translations. The translations are automatically generated "AS IS" and "AS AVAILABLE" and are not retained in our systems. PROQUEST AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY AND ALL EXPRESS OR IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES FOR AVAILABILITY, ACCURACY, TIMELINESS, COMPLETENESS, NON-INFRINGMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Your use of the translations is subject to all use restrictions contained in your Electronic Products License Agreement and by using the translation functionality you agree to forgo any and all claims against ProQuest or its licensors for your use of the translation functionality and any output derived there from. Hide full disclaimer
© 2019 by the authors.
Abstract
The aim of this work is to completely solve the reversibility problem for symmetric linear cellular automata with radius
You have requested "on-the-fly" machine translation of selected content from our databases. This functionality is provided solely for your convenience and is in no way intended to replace human translation. Show full disclaimer
Neither ProQuest nor its licensors make any representations or warranties with respect to the translations. The translations are automatically generated "AS IS" and "AS AVAILABLE" and are not retained in our systems. PROQUEST AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY AND ALL EXPRESS OR IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES FOR AVAILABILITY, ACCURACY, TIMELINESS, COMPLETENESS, NON-INFRINGMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Your use of the translations is subject to all use restrictions contained in your Electronic Products License Agreement and by using the translation functionality you agree to forgo any and all claims against ProQuest or its licensors for your use of the translation functionality and any output derived there from. Hide full disclaimer
Details



1 Department of Applied Mathematics, IUFFyM, University of Salamanca, 37008-Salamanca, Spain
2 BISITE Research Group, University of Salamanca, 37008-Salamanca, Spain
3 Department of Mathematics, IUFFyM, University of Salamanca, 37008-Salamanca, Spain