Abstract
In cryptography the block ciphers are the mostly used symmetric algorithms. In the existing system the standard S-Box of Advanced Encryption Standard(AES) is performed using the irreducible polynomial equation in table form known as look-up tables(LUTs). For more security purposes, second-order reversible cellular automata based S-box is created. The security aspects of the S-Box used in the AES algorithm are evaluated using cryptographic properties like Strict Avalanche Criteria, Non-Linearity, Entropy, and Common Immunity Bias. The design of S-Box using second-order reversible Cellular Automata is better concerning security and dynamic aspect as compared to the classical S-boxes used Advanced Encryption Standard.
Introduction
A cellular automaton (CA) is a parallel computational model that has been used to simulate and analyze a wide variety of discrete complex systems in different application domains. The Cellular Automata is a group of cells on a grid that changes its state through each discrete time steps according to a set of rules based on the states of neighboring cells. The state of the current cell and its neighboring cells combined called neighborhood states. The neighborhood radius is defined as the number of neighbor cells to either side of the central cell. Neighborhood state l is defined as l = 2r+1. For one-dimensional (1-D) CA, when the radius r = 1, then the neighborhood state l = 3. The number of neighborhood states K = 2l and the number of rules is R = 2k (when k = 8,r = 256). During a single time step, each cell in the lattice synchronously updates its state according to a local rule, which is applied to the neighborhood of the cell.
Method
The Advanced Encryption standard algorithm is the symmetric block cipher algorithm which consists of secret keys.The AES algorithm consists of four transformations which are repetedly specified in each rounds for encryption algorithm and inverse steps are involved for decryption process.The four transformations are substitute box,shift rows,mix column and add round key [1].
The 128 bits inputs are arranged in a block of bytes using the 4×4 square matrix. The bytes processing is defined in the Galois Field GF(28) [2].
The following steps involved in the encryption process, which is shown in Fig. 2.1. Initial Round: AddRoundKey Rounds: SubBytes, ShiftRows, MixColumns, and AddRoundKey Last Round: SubBytes, ShiftRows, and AddRoundKey

The overall structure of AES Algorithm.
S-Box is the basic component of a cipher system. It Substitutes a given value of the input into another value as output [3]. It can have the different number of inputs and outputs (m-bit input word and n-bit output word)
There are two different types of design approaches:
Look Up Table (LUT) based
In the LUT based design, fixed table are normally used in which for each value of “m’’ bit word an alternate value of “n’’ bit word is pre-defined. (Ex: S-Boxes in AES, DES) [4].
Function-based
In the function-based design, the functions are defined such that
Second order reversible cellular automata
At each time step, by applying local rule to every cells of a CA, one obtains a new configuration Ct+1 from the CA’s old configuration C t called Ct+1’s predecessor. Thus, the local rule defines a mapping from C to Ct+1, called the global map F (·), i.e. Ct+1 = F (C t ). And such CA is called one-order CA because its “next” configuration is only derived from its “current”configuration [5]. Figure 4.1 shows the rule 75 definition.

Rule 75 definition.
A CA is called second-order CA (CA2) if its “next” configuration is a function of both the “current” and the “previous” one. For instance, a one-order CA could be characterized by
Where C
t
denotes CA’s configuration at time step t, and F (·) is a global map determined by local rule [6, 7]. Then a second order CA could be characterized as
If given Ct+1 and C t , there is only one configuration Ct-1 that satisfies Equation (2), then such CA is called reversible CA2 (RCA2) [9, 10]. Figure 4.2 shows the structure of second order cellular automata

Second order reversible cellular automata.
The proposed AES implementation constructed by the following steps. Also it is shown in Fig. 4.3. The Standard AES algorithm is to be constructed. Check for the reversible rules using cryptographic properties. The rules which follows the cryptographic properties are taken for the construction of RCA2 based S-Box. The rules are inserted into the AES algorithm instead of standard S-Box for both encryption and decryption process. Second order reversible CA based S-Box is constructed.

Steps of the proposed algorithm.
Strict avalanche criteria (SAC)
If one bit input is changed in a Boolean function, then half of the output bit should be changed. For a Boolean function, if f is to satisfy SAC the following condition should be satisfied, f (x) ⊕ f (x ⊕ α) should be balanced, where the hamming weight of is 1.
The non-linearity of a Boolean function can be defined as a minimum hamming distance between the function and the set of all the affine function.
If Boolean function f is statistically independent of combination of any m input bits, then it satisfies CIB of order m.If m inputs bits are fixed then we can get n Cm2 m g function. so far f : B
n
→ B
m
In a S-Box with μ : Bn ⟶ Bm so, there would be m no.of function μ = μ1, μ2,μ3 … . . μm [where i ∈ (1, m)]
This property provides us the amount of information in the input bits, when output bit are already known. There exists 2n possible inputs and 2 m outputs for a Boolean function of n input and m output. The (i, j)th input/output bit to bit entropy of S-Box is computed with H(xi/fj(x)) and represented by HS
Analysis is based upon the values of the cryptographic properties such as non linearity, entropy,correlation immunity bias, strict avalanche criteria.
The values for non linearity for CA based AES S-Box is calculated using rule number and number of time step, which is shown in Fig. 5.1.

Values for Non Linearity for CA based AES S-Box.
The values of entropy for CA based AES S-Box is calculated using rule number and number of time step, which is shown in Fig. 5.2.

Values for Entropy for CA based AES S-Box.
The values of correlation immunity bias for CA based AES S-Box is calculated using rule number and number of time step, which is shown in Fig. 5.3.

Values for CIB of CA Based AES S-Box.
The values of strict avalanche criteria for CA based AES S-Box is calculated using rule number and number of time step, which is shown in Fig. 5.4.

values for SAC of CA Based AES S-Box.
A second order reversible cellular automata based S-Box for AES algorithm is proposed to overcome the limitations of standard classical LUT based S-Box.The proposed RCA2 based S-Box eliminates inefficient memory tables and possibility to create an S-Box, which are dynamic in nature and also cryptographically secure than the conventional S-Box used in AES algorithm. The comparative analysis with respect to level of security for LUT based conventional S-Box and RCA2 based S-Box was evaluated using cryptographic properties. Therefore, it has been observed that the values corresponding to RCA2 based S-Box outperform that of LUT based S-Box realisations.
