# Development of Security Rules and Mechanisms to Protect Data from Assaults
## 3 Proposed Algorithm
### Data Encryption Process  
Different procedures are followed when converting plain text to ciphertext, as shown in Figure 3, whenever the plain-text data are transmitted to the cloud server. The plain-text data may contain various special symbols, alphabets, and alphanumeric keys. First, each character in plain text is converted to its ASCII value, and then, every ASCII value is converted to an eight-bit binary. After converting to binary, a bit-reversing procedure is applied in which all bits are reversed. The reason for reversing the bits is that if an attacker tries to decrypt the data, the attacker will obtain different data due to the reversing of bits. After reversing the bits, a salting mechanism will be used, providing more security, and decimal text conversion will be done from these bits. After obtaining the decimal value, the Caesar cipher encryption algorithm is applied to these decimal values. The values acquired through bit reversing and salting are subjected to a series of time-shifting operations using the Caesar cipher method. Then, an efficient algorithm, the cipher matrix algorithm, is applied to the results of the Caesar cipher encryption algorithm. A set of rules is designed in the cipher matrix algorithm, with the help of which the data will be protected. When an attacker tries to decrypt the data using snatching rules or techniques, but when the rules of the attacking algorithm or algorithm \begin{table}
\begin{tabular}{c c c} \hline \hline
**Reference** & **Year** & **Proposed Work** \\ \hline
[33] & 2020 &
\begin{tabular}{c} Implemented the Goldbach algorithm on the Caesar cipher algorithm to enhance the functionality of the Caesar cipher algorithm. \\ \end{tabular} \\ \hline
[25] & 2021 &
\begin{tabular}{c} Surveyed various Vigenère cipher and Caesar cipher papers and collected their best techniques. After that, developed a hybrid algorithm to secure the data from attacks. \\ \end{tabular} \\ \hline
[34] & 2021 &
\begin{tabular}{c} Combined efficient techniques of Caesar cipher, Playfair, and stream cipher algorithm and developed an advanced encryption algorithm to improve the security of the Caesar cipher algorithm. \\ \end{tabular} \\ \hline
[35] & 2021 &
\begin{tabular}{c} Identified the weakness of the Vigenère cipher algorithm and discussed that the key used in the Vigenère cipher could be obtained with the help of the Kasiski test. The best Caesar cipher and Hill cipher algorithm techniques were used to solve this problem. \\ \end{tabular} \\ \hline
[36] & 2021 &
\begin{tabular}{c} Surveyed various papers, collected different techniques, and then developed an algorithm to prevent cloud data from man-in-the-middle attacks. \\ \end{tabular} \\ \hline
[37] & 2021 &
\begin{tabular}{c} An algorithm was developed to protect text data from cryptanalysis, in which Hill cipher and Caesar cipher algorithms were used. \\ \end{tabular} \\ \hline
[38] & 2022 &
\begin{tabular}{c} Collected various Caesar cipher techniques to protect data from man-in-the-middle attacks. After that, developed an algorithm that identified how data can be protected from attackers using the Caesar cipher algorithm. \\ \end{tabular} \\ \hline
[39] & 2022 &
\begin{tabular}{c} Combined Caesar cipher and Vigenère cipher algorithms to encrypt the data. After that, discussed that steganography is a way to hide all pieces of information and discussed that this method can produce more difficult-to-crack encryption. \\ \end{tabular} \\ \hline
[40] & 2022 &
\begin{tabular}{c} The two-layer algorithm was developed to protect the cloud data. In the first layer, the proposed algorithm was implemented on plain text, and a static key was generated. In layer two, the Vigenère cipher algorithm was implemented on the layer 1 result, and a ciphertext was obtained. \\ \end{tabular} \\ \hline \hline \end{tabular}
\end{table} 
Table 1: Literature Summary. do not match the proposed algorithm, it may not be possible to break the security of the data.