<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OALibJ</journal-id><journal-title-group><journal-title>Open Access Library Journal</journal-title></journal-title-group><issn pub-type="epub">2333-9705</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/oalib.1107339</article-id><article-id pub-id-type="publisher-id">OALibJ-108917</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Biomedical&amp;Life Sciences</subject><subject> Business&amp;Economics</subject><subject> Chemistry&amp;Materials Science</subject><subject> Computer Science&amp;Communications</subject><subject> Earth&amp;Environmental Sciences</subject><subject> Engineering</subject><subject> Medicine&amp;Healthcare</subject><subject> Physics&amp;Mathematics</subject><subject> Social Sciences&amp;Humanities</subject></subj-group></article-categories><title-group><article-title>
 
 
  Use Two Hybrid SCA-AOA and Fuzzy SCA-AOA Algorithms in Information Security
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Ayad</surname><given-names>Hamad Khalaf</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Ban</surname><given-names>Ahmed Mitras</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Mathematics, College of Computer Sciences &amp;amp; Mathematics, Mosul University, Mosul, Iraq</addr-line></aff><pub-date pub-type="epub"><day>02</day><month>04</month><year>2021</year></pub-date><volume>08</volume><issue>04</issue><fpage>1</fpage><lpage>14</lpage><history><date date-type="received"><day>23,</day>	<month>March</month>	<year>2021</year></date><date date-type="rev-recd"><day>27,</day>	<month>April</month>	<year>2021</year>	</date><date date-type="accepted"><day>30,</day>	<month>April</month>	<year>2021</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  
    This research suggests the improving Sine Cosine algorithm and Arithmetic optimization algorithm (SCA-AOA), and the application in two directions: First, in special functions (N-P hard) problems; second, in code analysis and decryption for the method of encryption substitution of simple cipher. The proposed algorithm mathematically simulates the behavior of SCA and Arithmetic algorithm behavior in Mathematical. The measure of SCA-AOA has been measured on a set of test functions to know the power of its performance and efficiency, and verify and compare it with SCA and AOA, each one alone. The numerical results have proved that the proposed algorithm (SCA-AOA) is able to present excellent results as compared with SCA-AOA itself. The applied results have proved that the proposed algorithm is able to analyze and break code. It could also avoid the falling the local solution and reaching to the global optimum resolutions in majority of functions that have been applied on. The adoptive Fuzzy SCA-AOA has been proposed and used in analyzing cipher text and breaking the code by merging the proposed algorithm SCA-AOA with properties of fuzzy logic. Moreover, the simple encoding method is explained and used to encode the proposed text. The method of masking by images is explained and used to hide text. The standards are used to measure the image resolution and find the image resolution. The encrypted text was analyzed and returned to the explicit text using the proposed method, SCA-AOA and Fuzzy SCA-AOA both separately, and the code for the encryption was broken by the proposed method. 
  
 
</p></abstract><kwd-group><kwd>Sine Cosine Algorithm</kwd><kwd> Arithmetic Optimization</kwd><kwd> Hybrid</kwd><kwd> Cipher</kwd><kwd> Encryption</kwd><kwd> Decryption</kwd><kwd> Frequency</kwd><kwd> Fuzzy Logic</kwd><kwd> Steganography</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Optimization is the process of getting the best values for variable certain problems for minimizing and maximizing certain function. To study the solution optimization problems, multiple complicated steps must be followed: First, determining land marks and building the nature of the world; second, categorizing the problem whether it is separated or continued and evaluating restraints to the restricted and not restricted; third, aims of a certain problem must be verified and the optimization problem is classified into problems with one aim versus multiple aims problems; finally, testing a suitable optimization, using it to solve the problem. In this research paper, a certain optimization has been used in solution of chosen problem, used in previous studies in this field, using of sine cosine algorithm (by S. M) [<xref ref-type="bibr" rid="scirp.108917-ref1">1</xref>] to resolve optimization problem in the engine of plane as Grasshopper optimization algorithm has been used for buildings and gables measurements. Furthermore, the PSO method has been used in the analysis of code breaking by (S. M. 2010) [<xref ref-type="bibr" rid="scirp.108917-ref2">2</xref>] and the SCA algorithm is hybridized with the classic CG methods by Ayad &amp; Ban 2020 [<xref ref-type="bibr" rid="scirp.108917-ref3">3</xref>], and used in the analysis of a text that has been ciphered by simple substitutions (Mohammed F. &amp; Amr M. 2006) [<xref ref-type="bibr" rid="scirp.108917-ref4">4</xref>].</p></sec><sec id="s2"><title>2. Sine Cosine Algorithm (SCA)</title><p>This SCA has been proposed by (S. A. M. 2016) [<xref ref-type="bibr" rid="scirp.108917-ref1">1</xref>] it is a meta-heuristic algorithm. The basis of its work is sine and cosine mathematical function. This Algorithm presents a set of initial proposals for solution, then it presents restriction and optimization for this solution frequently till reaching to best solutions. Basic equations used in this algorithm are:</p><p>X k t + 1 = X k t + r 1 &#215; sin ( r 2 ) &#215; | r 3 P k t − X k t | ,     r 4 &lt; 0.5 (1)</p><p>X k t + 1 = X k t + r 1 &#215; cos ( r 2 ) &#215; | r 3 P k t − X k t | ,     r 4 &gt; 0.5 (2)</p><p>where X k t is the current solution which has been changed by using the two functions sine and cosine with a set of iterations t-th, and r<sub>1</sub>, r<sub>2</sub>, r<sub>3</sub> are random values by using absolute value which depends on r<sub>4</sub> value as a random number, | r 4 | &lt; 0.5 of the scale of functions sine and cosine have been changed in the above mentioned equation by using:</p><p>r 1 = a − t a T (3)</p><p>where t is current iteration, T is max iteration &amp; a is a constant.</p></sec><sec id="s3"><title>3. Arithmetic Optimization Algorithm (AOA)</title><p>AOA is an algorithm suggested by (Laith and et al. 2020). The basis of its work is its reliance on known mathematical operations such as subtraction, addition, division and multiplication. Solutions are found and improved based on the parameters shown in the equations below.</p><p>M O A ( C _ I t e r ) = M i n + C _ I t e r &#215; ( M a x − M i n M _ I t e r ) (4)</p><p>“where MOA(C_Iter) the function value at the t-th iter., which is calculated by Equation (4). C_Iter the current iter., which is between 1 and the max number of iter. (M_Iter). Min and Max denote the min and maxi values of the accelerated function”</p><p>X i , j ( C _ I t e r + 1 ) = { b e s t ( x j ) &#247; ( M O P + ϵ ) &#215; ( ( U B j − L B j ) &#215; μ + L B j ) ,     r 2 &lt; 0.5 b e s t ( x j ) &#215; M O P &#215; ( ( U B j − L B j ) &#215; μ + L B j ) ,     o . w . (5)</p><p>“where X<sub>i</sub>(C_Iter + 1) denotes the ith solution in the next iteration, X<sub>i</sub><sub>,j</sub>(C_Iter) denotes the jth position of the ith solution at the current iteration, and best(x<sub>j</sub>) is the jth position in the best-obtained solution so far. ϵis a small integer number, UB<sub>j</sub> and LB<sub>j</sub> denote to the upper bound value and lower bound value of the jth position, respectively. μ is a control parameter to adjust the search process, which is fixed equal to 0.5 according to the experiments of this paper”.</p><p>M O P ( C _ I t e r ) = 1 − C _ I t e r 1 / α M _ I t e r 1 / α (6)</p><p>“where Math Optimizer probability (MOP) is a coefficient, MOP(C_Iter) denotes the function value at the tth iteration”.</p><p>X i , j ( C _ I t e r + 1 ) = { b e s t ( x j ) − ( M O P ) &#215; ( ( U B j − L B j ) &#215; μ + L B j ) ,     r 3 &lt; 0.5 b e s t ( x j ) + M O P &#215; ( ( U B j − L B j ) &#215; μ + L B j ) ,     o . w . (7)</p><p>Solutions are found and improved based on the operations of multiplication and division, and then they are found using subtraction and addition operations, depending on the parameters, and solutions are optimized and measured by the fitness function [<xref ref-type="bibr" rid="scirp.108917-ref5">5</xref>].</p></sec><sec id="s4"><title>4. Sine Cosine Algorithm-Arithmetic Optimization Algorithm (SCA-AOA)</title><p>It is a proposed algorithm which depends on the sine cosine algorithm (SCA) and the algorithm of Arithmetic metaheuristic (AOA). This algorithm has been hybridized by using properties of SCA algorithm and it is stable functions sine, cosine, confined between [−1, 1], and merging it with the algorithm of Arithmetic of random movement within a specific frame so produce an algorithm with excellent specifications that could avoid failing in local solutions as it is proved on reaching the global optimum solution during applying it on a set of states of testing to (N-P hard) optimization. As such, it has been used in code analysis and half coding by using simple substitution and the result was excellent by getting very small errors and finding half coding.</p>The Following Are the Basic Steps for This Algorithm SCA-AOA<p>1) Generating the initial community, the initial community is prepared randomly.</p><p>2) Measuring the fitness for each value of initial community.</p><p>3) Optimizing the value of solution by using AOA, the value of solution or when the element is optimized by using AOA and fitness measurement for it.</p><p>4) Optimizing the optimum resulted value by using SCA, and that is done by using the functions (1) and (2).</p><p>5) Measuring the final fitness and sorting solutions.</p><p>6) Choosing the best solution.</p><p>7) Comparing the best solution with the new one, using the best one between them.</p><p>If the number of iterations is less than the permissible limit, return (3-7) and do not stop.</p><p><xref ref-type="table" rid="table1">Table 1</xref> shows the test functions employed in experiment.</p><p>Tables 2-4 in it, it was shown that the proposed algorithm exceeds the original SCA algorithms for the number of elements 10, 30 and 50 elements. The results also showed the possibility of the proposed algorithm to avoid falling into local solutions and reach the best global results within the range of functions used. <xref ref-type="fig" rid="fig1">Figure 1</xref> shows the flowchart Proposed SCA-AOA.</p></sec><sec id="s5"><title>5. Simple Substitution Cipher</title><p>It is a well-known encrypt system and the simplest kind of encryption of replacement, where each letter is replaced by another one differs from English</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Test functions employed in experiment</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Function</th><th align="center" valign="middle" >Dim</th><th align="center" valign="middle" >Range</th><th align="center" valign="middle" >F<sub>min</sub></th></tr></thead><tr><td align="center" valign="middle" >F 1 ( x ) = ∑ i = 1 n x i 2</td><td align="center" valign="middle" >30</td><td align="center" valign="middle" >[−100, 100]</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F 2 ( x ) = ∑ i = 1 n ( ∑ j − 1 n x i ) 2</td><td align="center" valign="middle" >30</td><td align="center" valign="middle" >[−100, 100]</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F 3 ( x ) = ∑ i = 1 n i x i 4 + random [ 0 , 1 )</td><td align="center" valign="middle" >30</td><td align="center" valign="middle" >[−1.28, 1.28]</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F 4 ( x ) = ∑ i = 1 n [ x i 2 − 10 cos ( 2 π x i ) + 10 ]</td><td align="center" valign="middle" >30</td><td align="center" valign="middle" >[−5.12, 5.12]</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F 5 ( x ) = ∑ i = 1 n x i 2 − ∏ i = 1 n cos ( x i i ) + 1</td><td align="center" valign="middle" >30</td><td align="center" valign="middle" >[−600, 600]</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F 6 ( x ) = ∑ i = 1 n | x i | + ∏ i = 1 n | x i |</td><td align="center" valign="middle" >30</td><td align="center" valign="middle" >[−10, 10]</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F 7 ( x ) = max i { | x i | , 1 ≤ i ≤ n }</td><td align="center" valign="middle" >30</td><td align="center" valign="middle" >[−100, 100]</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F 8 = 4 x 1 2 − 2.1 x 1 4 + 1 3 x 1 6 + x 1 x 2 − 4 x 2 2 + 4 x 2 4</td><td align="center" valign="middle" >2</td><td align="center" valign="middle" >[−5, 5]</td><td align="center" valign="middle" >−1.031</td></tr><tr><td align="center" valign="middle" >F 9 ( x ) = − 20 exp ( − 0.2 1 n ∑ i = 1 n x i 2 ) − exp ( 1 n ∑ i = 1 n cos ( 2 π x i ) ) + 20 + e</td><td align="center" valign="middle" >30</td><td align="center" valign="middle" >[−32, 32]</td><td align="center" valign="middle" >0</td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Numerical results of the proposed algorithm SCA-AOA compared to a SCA at element = 10 and iterations = 500</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >FUNCTION</th><th align="center" valign="middle" >SCA</th><th align="center" valign="middle" >SCA-AOA</th></tr></thead><tr><td align="center" valign="middle" >F1</td><td align="center" valign="middle" >2.00E−30</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F2</td><td align="center" valign="middle" >2.13E−26</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F3</td><td align="center" valign="middle" >4.17E−78</td><td align="center" valign="middle" >3.86E−77</td></tr><tr><td align="center" valign="middle" >F4</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F5</td><td align="center" valign="middle" >0.002659</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F6</td><td align="center" valign="middle" >7.04E−20</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F7</td><td align="center" valign="middle" >3.71E−13</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F8</td><td align="center" valign="middle" >−1.0316</td><td align="center" valign="middle" >−1.0316</td></tr><tr><td align="center" valign="middle" >F9</td><td align="center" valign="middle" >8.88E−16</td><td align="center" valign="middle" >8.88E−16</td></tr></tbody></table></table-wrap><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Numerical results of the proposed algorithm SCA-AOA compared to a SCA at element = 30 and iterations = 500</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >FUNCTION</th><th align="center" valign="middle" >SCA</th><th align="center" valign="middle" >SCA-AOA</th></tr></thead><tr><td align="center" valign="middle" >F1</td><td align="center" valign="middle" >1.26E−49</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F2</td><td align="center" valign="middle" >1.72E−34</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F3</td><td align="center" valign="middle" >1.47E−80</td><td align="center" valign="middle" >5.10E−93</td></tr><tr><td align="center" valign="middle" >F4</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F5</td><td align="center" valign="middle" >0.030856</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F6</td><td align="center" valign="middle" >1.92E−23</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F7</td><td align="center" valign="middle" >3.66E−18</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F8</td><td align="center" valign="middle" >−1.0316</td><td align="center" valign="middle" >−1.0316</td></tr><tr><td align="center" valign="middle" >F9</td><td align="center" valign="middle" >8.88E−16</td><td align="center" valign="middle" >8.88E−16</td></tr></tbody></table></table-wrap><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Numerical results of the proposed algorithm SCA-AOA compared to a SCA at element = 50 and iterations = 500</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >FUNCTION</th><th align="center" valign="middle" >SCA</th><th align="center" valign="middle" >SCA-AOA</th></tr></thead><tr><td align="center" valign="middle" >F1</td><td align="center" valign="middle" >3.58E−47</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F2</td><td align="center" valign="middle" >9.74E−40</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F3</td><td align="center" valign="middle" >1.01E−88</td><td align="center" valign="middle" >1.28E−101</td></tr><tr><td align="center" valign="middle" >F4</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F5</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F6</td><td align="center" valign="middle" >1.15E−26</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F7</td><td align="center" valign="middle" >2.48E−20</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >F8</td><td align="center" valign="middle" >−1.0316</td><td align="center" valign="middle" >−1.0316</td></tr><tr><td align="center" valign="middle" >F9</td><td align="center" valign="middle" >8.88E−16</td><td align="center" valign="middle" >8.88E−16</td></tr></tbody></table></table-wrap><p>language latters in the Encrypted text. All the code is used in this kind of encryption is made of English language alphabet that is formed of 26 letters from A-Z. The distances and marks will be considered hidden to clarify this method, and we will deal with text as a complete one without space and marks. Let Xi be defined as a group of algebraic values [X1, X2, X3, ・・・, X26] and Y is also group of alphabet letters G(X1), G(X2), ・・・, G(X26), Where G: X → Y, where G is the function key of encryption which can be seen as substituting the letters 26 and their applications (one to one mapping). Where each letter is substituted by a letter of decoding G-1(Yi). So the cipher is being broken by inverse function G and using the inverse key to find original key that was encrypted. There are 26 ≈ 288 probability of encryption replacement could be used with a simple alphabet of these 26 letters [<xref ref-type="bibr" rid="scirp.108917-ref4">4</xref>]. It is clear that this kind of encryption in this amount of probabilities could not be found by using a kind of a comprehensive research, but with the existence of the property of research by algorithms and using the frequency of the letters that could analyze this kind of problems, because of the existence of a certain frequency for each one of the English language letters. Which means that some letters appear more than others, so their frequency is bigger. By using this property of frequency amount and it’s statics, we can analyze the code. With employing this hybridized algorithm SCA-AOA and its excellent properties to find different solutions to reach the justified solution. <xref ref-type="table" rid="table5">Table 5</xref> represents the frequency of each English language letter.</p></sec><sec id="s6"><title>6. Cost Function (Fitness)</title><p>The solution X<sub>i</sub> is evaluated and developed depending on the using of the frequency technique of selected letter and comparing it with the original unigram of the known letter frequency used in English language which is shown in <xref ref-type="table" rid="table1">Table 1</xref>. Using the following evaluating function to know the fitness degree relevant to each letter in the encrypt text with the frequency of the letter in the original language.</p><p>Fitness = ∑ i , j ∈ E n 26 | actual frequency ( i ) − cipher frequency ( j ) | (8)</p><p>where the actual frequencies are the letter ones of the English language alphabet, and the cipher frequencies are the letters ones of the cipher text and the used | | absolute value.</p><p>The solutions are to be presented by using the cost. When all the relevant letters will reach the solution of encryption of encrypted text, which means that the cost = 0 or about. Each encrypted letter refers to its corresponding letter, that means the actual frequency ≈ cipher frequency for each letter used in the encrypted text. Sowe get the plain text.</p></sec><sec id="s7"><title>7. Finding the New Solution</title><p>The new solutions are found depending on SCA-AOA algorithm. Then, we optimize the solutions by the following steps:</p><table-wrap id="table5" ><label><xref ref-type="table" rid="table5">Table 5</xref></label><caption><title> Frequencies of letters in alphabet English language</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >M</th><th align="center" valign="middle" >L</th><th align="center" valign="middle" >K</th><th align="center" valign="middle" >J</th><th align="center" valign="middle" >I</th><th align="center" valign="middle" >H</th><th align="center" valign="middle" >G</th><th align="center" valign="middle" >F</th><th align="center" valign="middle" >E</th><th align="center" valign="middle" >D</th><th align="center" valign="middle" >C</th><th align="center" valign="middle" >B</th><th align="center" valign="middle" >A</th></tr></thead><tr><td align="center" valign="middle" >0.024</td><td align="center" valign="middle" >0.04</td><td align="center" valign="middle" >0.008</td><td align="center" valign="middle" >0.002</td><td align="center" valign="middle" >0.07</td><td align="center" valign="middle" >0.061</td><td align="center" valign="middle" >0.02</td><td align="center" valign="middle" >0.022</td><td align="center" valign="middle" >0.127</td><td align="center" valign="middle" >0.043</td><td align="center" valign="middle" >0.028</td><td align="center" valign="middle" >0.015</td><td align="center" valign="middle" >0.082</td></tr><tr><td align="center" valign="middle" >Z</td><td align="center" valign="middle" >Y</td><td align="center" valign="middle" >X</td><td align="center" valign="middle" >W</td><td align="center" valign="middle" >V</td><td align="center" valign="middle" >U</td><td align="center" valign="middle" >T</td><td align="center" valign="middle" >S</td><td align="center" valign="middle" >R</td><td align="center" valign="middle" >Q</td><td align="center" valign="middle" >P</td><td align="center" valign="middle" >O</td><td align="center" valign="middle" >N</td></tr><tr><td align="center" valign="middle" >0.001</td><td align="center" valign="middle" >0.02</td><td align="center" valign="middle" >0.002</td><td align="center" valign="middle" >0.024</td><td align="center" valign="middle" >0.01</td><td align="center" valign="middle" >0.028</td><td align="center" valign="middle" >0.091</td><td align="center" valign="middle" >0.063</td><td align="center" valign="middle" >0.06</td><td align="center" valign="middle" >0.001</td><td align="center" valign="middle" >0.019</td><td align="center" valign="middle" >0.075</td><td align="center" valign="middle" >0.067</td></tr></tbody></table></table-wrap><p>X i , j ( C _ I t e r + 1 ) = { b e s t ( x j ) ( “ &#247; ”   or   “ + ” ) ( M O P + ϵ ) &#215; ( ( U B j − L B j ) &#215; μ + L B j ) ,     r 2 &lt; 0.5 b e s t ( x j ) ( “ &#215; ”   or   “ − ” ) M O P &#215; ( ( U B j − L B j ) &#215; μ + L B j ) ,     o . w .</p><p>(form AOA).</p><p>And SCA algorithm is used to get the best solution.</p><p>X i n e w t + 1 = { X k t + r 1 &#215; sin ( r 2 ) &#215; | r 3 P k t − X k t | ,       r 4 &lt; 0.5 X k t + r 1 &#215; cos ( r 2 ) &#215; | r 3 P k t − X k k t | .       r 4 ≥ 0.5</p><p>The value X i n e w t + 1 is determined within the period [0.001, 0.127].</p><p>All possible probabilities for each letter of English language are gotten. And after comparing and evaluating it, to get code breaking for eachencrypted letter to reach solution of plain text.</p></sec><sec id="s8"><title>8. Results and Discussion</title><p>In this research, all processes have been used in the text by using alphabet letters of English language from (A-Z). Neglecting the spaces and punctuation marks of thesentences and paragraphs, and they have been omitted before encryption. The proposed SCA-AOA algorithm is used on the encrypted text that is exposed to a big attack and encrypted it. This was achieved by different amounts of elements of research and a number of multiple repetitions. This algorithm proved it’s capability on breaking any amount of random messages by using this kind of encryption by different kinds, with the existence of a certain error probability rate because of the fact that the taken texts do not represent all English language. Matching letters, often reached the exact solution and break the code.</p></sec><sec id="s9"><title>9. Conclusion</title><p>The proposed SCA-AOA algorithm provides a strong tool for analyzing and breaking the code of a (simple substitution encryption) kind for its accuracy of solutions in letters frequency of English language unigram and the fitness of the function used depending on it. Duo to the accountings of the SCA-AOA algorithm and the parameters that depend on, a certain rate of error is resulted. But it is possible to adjust the fitness function relevant to this work to reach to optimum solution. As such this algorithm proved capability on overcoming the falling in local solution and reaching the global optimization value in most functions, especially the applied test, and as shown in the practice.</p></sec><sec id="s10"><title>10. The Practical and Applied Side</title><p>The proposed SCA-AOA and using it cipher text analyzing segment of developing skill book, unit 2, (L. G. Alexander), segment tittle “thirteen equal one” the text is taken from the segment and is encryption be method simple substitution and test the encryption letter as in <xref ref-type="table" rid="table6">Table 6</xref>.</p><table-wrap id="table6" ><label><xref ref-type="table" rid="table6">Table 6</xref></label><caption><title> Cipher of letters</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="26"  >Standard letters</th></tr></thead><tr><td align="center" valign="middle" >A</td><td align="center" valign="middle" >B</td><td align="center" valign="middle" >C</td><td align="center" valign="middle" >D</td><td align="center" valign="middle" >E</td><td align="center" valign="middle" >F</td><td align="center" valign="middle" >G</td><td align="center" valign="middle" >H</td><td align="center" valign="middle" >I</td><td align="center" valign="middle" >J</td><td align="center" valign="middle" >K</td><td align="center" valign="middle" >L</td><td align="center" valign="middle" >M</td><td align="center" valign="middle" >N</td><td align="center" valign="middle" >O</td><td align="center" valign="middle" >P</td><td align="center" valign="middle" >Q</td><td align="center" valign="middle" >R</td><td align="center" valign="middle" >S</td><td align="center" valign="middle" >T</td><td align="center" valign="middle" >U</td><td align="center" valign="middle" >V</td><td align="center" valign="middle" >W</td><td align="center" valign="middle" >X</td><td align="center" valign="middle" >Y</td><td align="center" valign="middle" >Z</td></tr><tr><td align="center" valign="middle"  colspan="26"  >Cipher letters</td></tr><tr><td align="center" valign="middle" >O</td><td align="center" valign="middle" >Q</td><td align="center" valign="middle" >S</td><td align="center" valign="middle" >U</td><td align="center" valign="middle" >W</td><td align="center" valign="middle" >Z</td><td align="center" valign="middle" >C</td><td align="center" valign="middle" >Y</td><td align="center" valign="middle" >B</td><td align="center" valign="middle" >E</td><td align="center" valign="middle" >A</td><td align="center" valign="middle" >F</td><td align="center" valign="middle" >J</td><td align="center" valign="middle" >D</td><td align="center" valign="middle" >G</td><td align="center" valign="middle" >K</td><td align="center" valign="middle" >H</td><td align="center" valign="middle" >L</td><td align="center" valign="middle" >N</td><td align="center" valign="middle" >R</td><td align="center" valign="middle" >I</td><td align="center" valign="middle" >M</td><td align="center" valign="middle" >P</td><td align="center" valign="middle" >T</td><td align="center" valign="middle" >V</td><td align="center" valign="middle" >X</td></tr></tbody></table></table-wrap><p>The cipher text is gotten, after that the SCA-AOA algorithm is used to get the keys of cipher regarding the text by using the function fitness</p><p>Fitness = ∑ i , j ∈ E n 26 | actualfrequency ( i ) − cipherfrequency ( j ) |</p><p>After that, the generated group of solutions of the proposed algorithm has been evaluated, and after a certain repetition to get fitness function equal zero, or near it (in case of the frequency of the capitalized letters does not exactly match the frequencies of the English language letters), So the letters are matched to get on letters that the text is encrypted on it and returning it to the original text. Therefore, the plain text is recoups.</p><p><xref ref-type="fig" rid="fig2">Figure 2</xref> shows the plain text and the end encrypted one before analysis and the scale of different among letters.</p><p>While <xref ref-type="fig" rid="fig3">Figure 3</xref> shows the sketch of the plain text frequencies and frequencies of the decryption text has been broken to, which also shows the scale of capability of this algorithm on encrypted text analyzing and broking it. <xref ref-type="fig" rid="fig4">Figure 4</xref> shows the plot standard and decryption cipher frequencies.</p></sec><sec id="s11"><title>11. Fuzzy Logic</title><p>Lotfi Zadeh 1965 has proposed fuzzy logic depending on the theory of fuzzy sets, which is a design of classic sets generalized, and it aims to model logical thinking into a fuzzy set. Because it is based on the theory of variable values, which it could be of true values partially and wrong values partially on the contrary to the binary logic which is based on the wrong or right only. The fuzzy logic works on establishing a rough fact based on linguistic variable of Inference rules in a fuzzy set. So the element that the highly related to the membership function belongs to the scale [0,1]. The propose of the logic statement AND, OR, Min, Max and merging them together that has a huge effect in the processes used in the fuzzy set [<xref ref-type="bibr" rid="scirp.108917-ref6">6</xref>].</p></sec><sec id="s12"><title>12. Adaptive Fuzzy SCA-AOA Optimization</title><p>The adaptive optimization of the sine cosine: Arithmetic algorithm is the system of fuzzy logic with developed metaheuristic algorithm and optimizing these as a kind of algorithm of Intelligent by the assistance of fuzzy logic. The both being a general flexible computing, and having a naturally inspired feature. We use it on the conventional method especially, and generally on the problems of education, modeling, optimization and the security information as encryption and steganography. The base of this adoption takes over the application the entered</p><p>data which is considered the initial population of SCA-AOA, and the data is divided to a set of fuzzy sets by using FCM (fuzzy c-mean) method [<xref ref-type="bibr" rid="scirp.108917-ref7">7</xref>] by dividing it to clusters and then establishing a fuzzy relation and using thelogic statement, establishing a certain defuzzification modeling and restoring real values that is considered the plain text within this study.</p></sec><sec id="s13"><title>13. Fuzzy SCA-AOA</title><p>This algorithm has been proposed. It is inspired by the SCA-AOA algorithm with fuzzy logic. It is very similar to it with the difference that this algorithm uses the starting values in the form of fuzzy groups. Then create fuzzy relationships resulting in the SCA-AOA method and the use of logical relationships and by using the fitness function of the SCA-AOA method, then the defuzzification is done to find the true values of the solutions.</p>The General Outlines of This Algorithm (<xref ref-type="fig" rid="fig5">Figure 5</xref>)<p>1) Enter the initial values.</p><p>2) Fuzziness of the initial values.</p><p>3) Use FC-MEAN to find clusters (fuzzy sets).</p><p>4) Create fuzzy relationships.</p><p>5) Use of logical operations.</p><p>6) Use an SCA-AOA.</p><p>7) Defuzzification.</p><p>8) Finding real values for solutions.</p><p>End.</p></sec><sec id="s14"><title>14. Steganography</title><p>It is one of the important methods for hiding information and it is the process of hiding the information inside an image or a newspaper within letters or inside an audio record or by using unseen ink [<xref ref-type="bibr" rid="scirp.108917-ref8">8</xref>]. The steganography has many elements, and it is the way of covering an object and it is symbolizedas C, the Secret Message and it is symbolizedas M, and Stego Key and it is symbolizedas K, and the element of hiding Stego object and it is symbolized as S, and the Embedding process, which is symbolized as E. Finally, the process of restoring and we indicate it with D [<xref ref-type="bibr" rid="scirp.108917-ref9">9</xref>].</p></sec><sec id="s15"><title>15. Steganography in Image</title><p>Image is one of the most important methods of hiding information, as it is a hidden messages conveyor. It is more used in media all over the world as an encrypted message content on the form of an image, and that is because of the large spreading information on the internet as a result of the that the computer is dealing with the image as it is a three-dimensional system, each site represents a spot of light called pixel. Highly increasing the number of pixels, the image is more clear. The colors of spots are three, Red, Green and Blue (RGB) [<xref ref-type="bibr" rid="scirp.108917-ref10">10</xref>]. The random message can be hidden in the image by using many methods. One of them is binary cell, the Least Significant Bit Insertion [<xref ref-type="bibr" rid="scirp.108917-ref11">11</xref>], as well as masking, filtering in addition to algorithms and Transformation, This kind is one of the most important kind and we are going to use it in this study. It is considered as the best method of resisting hacks and attacks [<xref ref-type="bibr" rid="scirp.108917-ref12">12</xref>].</p></sec><sec id="s16"><title>16. SSIM (Structural Similarity)</title><p>It is a complete reference picture quality-rating index that measures image similarity in three aspects, brightness, contrast and texture then compares between the images that have been used in hiding the encrypted text and the original one.</p><p>SIMM ( X , Y ) = L ( X , Y ) ∗ C ( X , Y ) ∗ S ( X , Y ) (9)</p><p>SIMM in range [0, 1], the higher the value, the less distorted the image.</p></sec><sec id="s17"><title>17. PSNR (Peak Signal to Noise Ratio)</title><p>It is one of the measurements that is used in the measurement of image accuracy and its clearness degree that is compared between the original the image and the image that the encryption is hidden inside it.</p><p>PSNR = 10 ⋅ log 10 ( MAX 2 MSE ) (10)</p></sec><sec id="s18"><title>18. The Practice Side Related with Encryption and Steganography</title><p>This shown image has been used in <xref ref-type="fig" rid="fig6">Figure 6</xref>.</p><p>And then the encryption and Steganography algorithm are used in the text inside this image to increase the security of encrypted message and to be impossible to be determined to any attack. The following steps are done restore the encryption text from inside the image and analyzing it after that, then decipher it’s cryptogram and restore it to the plaintext as follows:</p><p>1) Interring plain text and interring the image that is requested hide the text in.</p><p>2) Ciphering the text in method simple substitution.</p><p>3) Chang the cipher text to ASCII Code.</p><p>4) Merging the text with image in hiding way.</p><p>5) Getting the image contain hide encrypted text.</p><p>6) Separate the encrypted text from the image.</p><p>7) Restoring ASCII Code to encrypted text.</p><p>8) By using SCA-AOA algorithm and in another direction fuzzy SCA-AA to break the encrypted text.</p><p>9) Restoring plain text.</p><p>In the application, we get:</p><p>PSNR = 90.9247.</p><p>SIMM = 1.000.</p></sec><sec id="s19"><title>Acknowledgements</title><p>I would extend my high thanks and appreciation to the supervising, Prof. Dr. Ban Ahmed Mitras, who has never been late in providing assistance, in addition to the good directives and valuable advice that contributed to the completion of this paper. Finally, I thank everyone who taught me a letter, my teachers, lecturers and professors. Please accept my sincere regards.</p></sec><sec id="s20"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s21"><title>Cite this paper</title><p>Khalaf, A.H. and Mitras, B.A. (2021) Use Two Hybrid SCA-AOA and Fuzzy SCA-AOA Algorithms in Information Security. Open Access Library Journal, 8: e7339. https://doi.org/10.4236/oalib.1107339</p></sec></body><back><ref-list><title>References</title><ref id="scirp.108917-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Mirjalili, S. (2016) SCA: A Sine Cosine Algorithm for Solving Optimization Problems. Knowledge Based Systems, 96, 120-133.  
https://doi.org/10.1016/j.knosys.2015.12.022</mixed-citation></ref><ref id="scirp.108917-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Hameed, S.M. and Hmood, D.N. (2010) Particles Swarm Optimization for the Cryptanalysis of Transposition Cipher. Journal of Al-Nahrain University, 13, 211-215.  
&lt;br /&gt;https://doi.org/10.22401/JNUS.13.4.30</mixed-citation></ref><ref id="scirp.108917-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Hamad, A. and Mitras, B. (2020) Using Modified Conjugate Gradient Method to Improve SCA. Journal of Physics: Conference Series, 1591, 012050.  
&lt;br /&gt;https://doi.org/10.1088/1742-6596/1591/1/012050</mixed-citation></ref><ref id="scirp.108917-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Uddin, M.F. and Youssef, A.M. (2006) Cryptanalysis of Simple Substitution Ciphers Using Particle Swarm Optimization. IEEE Congress on Evolutionary Computation, Vancouver, BC, Canada, date, 677-680.</mixed-citation></ref><ref id="scirp.108917-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Abualigah, L., Diabat, A., Mirjalili, S., Elaziz, M.A. and Gandomi, A.H. (2021) The Arithmetic Optimization Algorithm. Computer Methods in Applied Mechanics and Engineering, 376, 113609. &lt;br /&gt;https://doi.org/10.1016/j.cma.2020.113609</mixed-citation></ref><ref id="scirp.108917-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Chen, C.R. and Pham, T.T. (2001) Introduction to Fuzzy Set, Fuzzy Logic, Fuzzy Control Systems. LLC, USA. https://doi.org/10.1201/9781420039818</mixed-citation></ref><ref id="scirp.108917-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Miyamoto, S., Ichihashi, H. and Honda, K. (2008) Algorithms for Fuzzy Clustering, Methods in c-Means Clustering with Applications. In: Studies Fuzziness and Soft Computing, Vol. 229, Springer-Verlag, Berlin Heidelberg.</mixed-citation></ref><ref id="scirp.108917-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Mitras, B.A. and Btty, K.D. (2009) Estimation of Parameter for Gibbs Random Distribution Which Is Used in Image Processing. Iraq Journal of Statistical Sciences, 16, 73-94.</mixed-citation></ref><ref id="scirp.108917-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Qasim, W.A. and Mitras, B.A. (2020) Using Hybrid Intelligent Numerical Optimization Techniques in Steganography. College of Computer Sciences &amp; Mathematics, Mosul University, Mosul, 7-9.</mixed-citation></ref><ref id="scirp.108917-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Hamid, N., Yahya, A., Ahmad, R.B. and Al-Qershi, O.M. (2012) Image Steganography Techniques: An Overview. Int. J. Comput. Sci. Secur., 6, 168-187.</mixed-citation></ref><ref id="scirp.108917-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Hariri, M., Karimi, R. and Nosrati, M. (2011) An Introduction to Steganography Methods. World Appl. Program., 13, 191-195.</mixed-citation></ref><ref id="scirp.108917-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Cummins, J., Diskin, P., Lau, S. and Parlett, R. (2004) School of Computer Science, Univ. Birmingham, Steganography Digit. Watermarking.</mixed-citation></ref></ref-list></back></article>