<?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">JIS</journal-id><journal-title-group><journal-title>Journal of Information Security</journal-title></journal-title-group><issn pub-type="epub">2153-1234</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jis.2023.144023</article-id><article-id pub-id-type="publisher-id">JIS-128358</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  A New Image Watermarking Scheme Using Genetic Algorithm and Residual Numbers with Discrete Wavelet Transform
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Peter</surname><given-names>Awonnatemi Agbedemnab</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>Mohammed</surname><given-names>Akolgo</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>Moses</surname><given-names>Apambila Agebure</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Information Systems and Technology, School of Computing and Information Sciences, C.K. Tedam University of Technology and Applied Sciences, Navrongo, Ghana</addr-line></aff><aff id="aff2"><addr-line>Department of Computer Science, School of Computing and Information Sciences, C.K. Tedam University of Technology and Applied Sciences, Navrongo, Ghana</addr-line></aff><pub-date pub-type="epub"><day>08</day><month>08</month><year>2023</year></pub-date><volume>14</volume><issue>04</issue><fpage>422</fpage><lpage>436</lpage><history><date date-type="received"><day>3,</day>	<month>July</month>	<year>2023</year></date><date date-type="rev-recd"><day>15,</day>	<month>October</month>	<year>2023</year>	</date><date date-type="accepted"><day>18,</day>	<month>October</month>	<year>2023</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>
 
 
  Transmission of data over the internet has become a critical issue as a result of the advancement in technology, since it is possible for pirates to steal the intellectual property of content owners. This paper presents a new digital watermarking scheme that combines some operators of the Genetic Algorithm (GA) and the Residue Number (RN) System (RNS) to perform encryption on an image, which
   
  is embedded into a cover image for the purposes of watermarking. Thus, an image watermarking scheme us
  es
   an encrypted image. The secret image is embedded in decomposed frames of the cover image achieved by applying a three
  -
  level Discrete Wavelet Transform (DWT). This is to ensure that the secret information is not exposed even when there is a successful attack on the cover information. Content creators can prove ownership of the multimedia content by unveiling the secret information in 
  a
   court of law. The proposed scheme was tested with sample data using MATLAB2022 and the results of the simulation show a great deal of imperceptibility and robustness as compared to similar existing schemes.
 
</p></abstract><kwd-group><kwd>Discrete Wavelet Transform (DWT)</kwd><kwd> Digital Watermarking</kwd><kwd> Encryption</kwd><kwd> Genetic Algorithm (GA)</kwd><kwd> Residue Number System (RNS)</kwd><kwd> GARN</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The internet provides the opportunity for people to copy, process and transmit multimedia content including text, graphics, images and videos, making it easy and convenient for content creators to market their products to clients. However, acts by some individuals such as piracy, infringement and stealing of online content tend to damage intellectual property rights and affect the market order of content owners [<xref ref-type="bibr" rid="scirp.128358-ref1">1</xref>] . This, therefore, makes it necessary to employ techniques for information hiding. Information hiding is the process of embedding a secret message into cover content in order to make the information imperceptible and conceal the existence of the secret message [<xref ref-type="bibr" rid="scirp.128358-ref2">2</xref>] . Information hiding includes steganography, digital watermarking and convert communication. Among these three technologies, digital watermarking is the best solution to copyright protection for digital content [<xref ref-type="bibr" rid="scirp.128358-ref3">3</xref>] . Digital watermarking is the ability to embed information (either visible or invisible) into the cover information [<xref ref-type="bibr" rid="scirp.128358-ref4">4</xref>] . Digital watermarking can be classified based on the domain for spatial or spectral; the type of document for text, image, audio or video; or human perception for robust and fragile [<xref ref-type="bibr" rid="scirp.128358-ref5">5</xref>] . There exist various forms of attacks (active, passive collusion, forgery and so on) on watermarks. More prevalent are these attacks recently as a result of the growth in the digital ecosystem especially, internet technology. Attempts have been made over the years to handle these attacks by building robust watermark schemes. Indeed, robustness is a requirement for digital watermarking. However, in order to achieve robustness, there has always been a trade-off with imperceptibility. Imperceptibility and robustness can be achieved by leveraging techniques that can bring imperceptibility but at the same time increase the computational layers to build robust schemes. This paper, therefore, seeks to proffer a solution to these threats in the modern era by leveraging the selection and crossover operators of the genetic algorithm (GA) and at the same time, the inherent properties of the residue number system (RNS) to encrypt an image before it will be embedded in a cover image using a three-level Discrete Wavelet Transforms (3-DWT). The rest of the paper is organised as follows: Section 2 presents the necessary background information as well as a review of some related works; the proposed scheme is presented in Section 3. The results of the scheme are analysed in Section 5 as well as an evaluation of its performance whiles Section 3 concludes the paper.</p></sec><sec id="s2"><title>2. Background and Related Works</title><p>Watermarking is a technique that has been in existence for several centuries now. Watermarks were found initially in plain paper and in paper bills. However, digital watermarking emerged in recent years [<xref ref-type="bibr" rid="scirp.128358-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.128358-ref6">6</xref>] . The main purpose of digital watermarking is for copyright protection, so that when pirated products emerge, content owners are able to extract some hidden information in the content to prove ownership of the content in a court of law [<xref ref-type="bibr" rid="scirp.128358-ref7">7</xref>] .</p><p>GA is a search technique used to find true and approximate solutions to optimisation and search problems. It forms part of the Evolutionist Algorithm (EA) category which makes use of evolution theory in solving problems. These algorithms are biologically inspired because they mimic how living creatures try to fit into their environment for survival. The basic operators of GA are selection, crossover and mutation. It begins with the selection of chromosomes from a population of chromosomes which undergoes modification (recombination and mating) to form a new population. GAs have seen significant applications in solving complex real world computation problems including Neural networks, Vehicle routing problems, and Task scheduling among others.</p><p>A residue number system (RNS) is a number system that represents integers as a vector of remainders of a given pairwise co-prime integers called the moduli. The residue number system is a non-weighted number system which is different from the weighted number systems like binary or decimal number systems. This number system possesses inherent properties such as parallelism, fault tolerance, and modularity that make it suitable for application in many research areas. RNS has been widely applied in the area of subtraction, multiplication and addition such as Digital Signal Processing (DSP) due to its computational speed. However, it has not gained much popularity in areas of division such as Signal Detection, Magnitude Comparison and Overflow Detection [<xref ref-type="bibr" rid="scirp.128358-ref8">8</xref>] . Given a set of relatively prime moduli S = { m 1 , m 2 , ⋯ , m n } , such that the greatest common divisor (gcd) between any pair is one, i.e. g c d ( m i , m j ) = 1 , for i ≠ j . We can compute M = ∏ i = 1 n , where S and M are the base and the dynamic range of the RNS respectively. In the RNS, any number X which is less than M can be denoted as a vector X = x 1 , x 2 , ⋯ , x n , where x i = | X | m i . Such an integer X is a legitimate number and has a unique representation within the dynamic range, M [<xref ref-type="bibr" rid="scirp.128358-ref9">9</xref>] . Assume that two integers X , Y ∈ [ 0, M ) for RNS representation are X = { x 1 , x 2 , ⋯ , x n } , and Y = { y 1 , y 2 , ⋯ , y n } , respectively. With a single step, we can compute X ϕ Y = ( | x 1 ϕ y 1 | m 1 , | x 2 ϕ y 2 | m 2 , ⋯ , | x n ϕ y n | m n ) where ϕ denotes an addition, subtraction, or multiplication. This property provides parallel operation on all digits without any carry between different residue digits [<xref ref-type="bibr" rid="scirp.128358-ref9">9</xref>] .</p><p>Forward conversion in RNS refers to the decomposition of a weighted number into RNS representation. This process is relatively a straight forward operation where modulus operation is performed on the weighted number with respect to the moduli set. For example, given a moduli set S = { m 1 , m 2 , ⋯ , m n } , then the weighted number (in this case, binary or decimal) is represented in RNS as X = | x | m i , i = 1 , 2 , 3 , ⋯ , n . The reverse (RNS-to-binary/decimal) conversion on the other hand is a more complex operation which is computed generally by two techniques; the Chinese Remainder Theorem (CRT) and the Mixed Radix Conversion (MRC).</p><p>The CRT is computed as [<xref ref-type="bibr" rid="scirp.128358-ref10">10</xref>] ;</p><p>| ∑ i = 1 N     m i | x i a i | m i | M (1)</p><p>where,</p><p>M = ∏ i = 1 N     m i ;   a i = M m i ;   | x i ⋅ a i | m i = 1</p><p>Wavelet Transform is a modern technique which is recently being used in digital image processing, watermarking, compression, and other applications, [<xref ref-type="bibr" rid="scirp.128358-ref11">11</xref>] . The transforms are based on the wavelet of varying frequency and limited duration. A wavelet is a mathematical function that is used in image processing. Wavelets consist of two fundamental properties: scale and location. The scale refers to how stretched or “squeezed a wavelet is. Location defines where the wavelet is positioned in time. The properties of the wavelet are capable of decomposing an original signal into wavelet transform coefficients. The original signal can be reconstructed by performing an Inverse Wavelet Transformation on these coefficients. There are two types of Wavelet Transforms, Continuous Wavelet Transform (CWT) and DWT [<xref ref-type="bibr" rid="scirp.128358-ref12">12</xref>] .</p><p>Many researchers have proposed various schemes for digital image watermarking by combining GA and other techniques or RNS and other techniques. The work by [<xref ref-type="bibr" rid="scirp.128358-ref13">13</xref>] presented a Wavelet-Hadamard GA and decision tree-based image watermarking scheme. The GA was used in the search for optimization to satisfy the tradeoff between robustness and imperceptibility. According to the proposed scheme, embedding a secret image into a cover image will involve a modification of the frequency coefficients. The paper, therefore, utilized GA to modify the coefficients of the host image. However, this technique was proven to be convenient for only offline applications and cannot withstand attacks when applied to online content. Another work by [<xref ref-type="bibr" rid="scirp.128358-ref14">14</xref>] also presented a watermarking technique that is based on Redundant Wavelet Transform (RWT) and the GA. In this work, RWT is employed to reduce the information loss in the extracted image as this is the case, according to the paper in conventional wavelet transforms. The GA was used here to optimize a watermarking constant. The approach achieved resilience towards attacks but it is costly in terms of computational time. Also, [<xref ref-type="bibr" rid="scirp.128358-ref15">15</xref>] reported on a digital signature-based watermarking scheme which uses integer wavelet transform and singular value decomposition. The proposed approach employed two algorithms, GA and Particular Swarm Optimisation (PSO). The signature generation and embedding procedure was based on singular values. However, the approach adopted a lot of methods which introduced computational complexities and delays in the execution time. Again, [<xref ref-type="bibr" rid="scirp.128358-ref16">16</xref>] also established a coding scheme which can be used to insert data into an image and to extract the data from the image without changing the image file. This scheme is established based on Discrete Cosine Transform (DCT) and GA. In their work, the cover image is decomposed into 3-level using DCT then GA is used for the embedding process. However, the problem with DCT is that images are broken into blocks of 8 &#215; 8, 16 &#215; 16 or bigger. Therefore, when the image is reduced to higher compression ratios, the blocks become visible.</p><p>The work in [<xref ref-type="bibr" rid="scirp.128358-ref17">17</xref>] resorted to the use of Data Encryption Standard (DES) and RNS for image watermarking. The secret image was taken through a Simple-DES (SDES) using a key image, then the encrypted image was watermarked using another image and a matrix. The work then applied RNS to produce a DES watermarked RNS encoded image. The scheme showed some form of robustness but utilized only one key. The scheme in [<xref ref-type="bibr" rid="scirp.128358-ref18">18</xref>] proposed a high payload watermarking using RNS. The proposed approach takes pixel values from three watermarked images and embeds them into the cover image. The researchers converted the colour image into 3 gray planes (Red, Blue and Green) and applied RNS on the Blue plain and went further to do more RNS arithmetic on the bits of the chosen plain in order to watermark. This is, however, a single layer scheme since it utilizes only residue numbers for the watermarking process. Also, the work by [<xref ref-type="bibr" rid="scirp.128358-ref19">19</xref>] discussed the use of Advance Encryption Standard (AES) with a hybrid of DWT and DCT watermarking techniques and RNS for image watermarking. In this work, a grayscale image is given as an input to AES-128 using a key. The output is then watermarked using DWT and DCT and the watermarked image is then passed through the RNS procedure for security. However, the AES technique has a simpler algebraic structure and encrypts every block the same way. Therefore, when an attacker succeeds in decrypting one block, it becomes simpler to get the remaining blocks. From the ensued, GA has been combined with other techniques in some cases, and the RNS has also been used with some other techniques as well. However, both the GA and RNS have not been utilized for watermarking. This paper, therefore, seeks to leverage both techniques and in addition, DWT to develop a robust watermark scheme without compromising on the throughput.</p></sec><sec id="s3"><title>3. Proposed Scheme</title><p>The proposed scheme utilizes a combination of three techniques, namely, GA, RNS and DWT in a three-layered manner to achieve its objective. The RNS component comprises a forwarded and reverse conversion process, where the decimal/binary values are converted into residues using the moduli set { 2 n − 1 − 1,2 n − 1,2 n } , where m 1 = 2 n − 1 , m 2 = 2 n and m 3 = 2 n − 1 − 1 ; the residual bits are then used in the choice of pixel vectors for single point crossover operations and embedding using a 3-DWT. These are the encoding processes that result in the pixel scramble (encryption), which is eventually watermarked. The decoding involves a reversal of these processes; the residual bits are converted back to the binary/decimal representation for the recomposition of pixel values of the original image. The moduli set for the RNS conversion processes and manipulation in [<xref ref-type="bibr" rid="scirp.128358-ref10">10</xref>] are adopted in this paper. Generally the encoding processes of the proposed scheme are as follows:</p><p>1. For any M &#215; M ( M = 2 n ) image, extract pixel values</p><p>2. Given the moduli set { 2 n − 1 − 1,2 n − 1,2 n } , choose n such that D R = m 1 &#215; m 2 &#215;   m 3 in order that every pixel can be represented.</p><p>3. Find E k e y = R k e y ⊳ ⊲ R &#175; k e y , R &#175; k e y is a representation of m 1 m 2 m 3 in binary and of length 2 n . R k e y is a random key for the purpose of encryption whilst E k e y is the encryption key.</p><p>4. Determine 2 n subkeys, S k e y ( i ) ( i = 1 , ⋯ , 2 n ) by splitting E k e y into equal n-bits starting from the LSB.</p><p>5. Note that the pixels of the image forms a matrix starting from location 0 to location 2 n − 1 . The subkeys are then used as a selection criterion for crossover operation.</p><p>6. To further scramble the image, map bits in R k e y to pixel locations from left to right; and compute RNS forward conversion on pixel locations where R k e y = 1 .</p><p>7. The residual values are then replaced with corresponding pixel values to form the new encrypted image.</p><p>8. Finally, to embed, decompose both host image and encrypted image of sizes M &#215; M into four non-overlapping 3-DWT sub-bands as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>. Thereafter, use Equation (2);</p><p>W i m = α H i m + β E i m (2)</p><p>α and β are scaling factors for the host image and watermark respectively. The scaling factors are varied from 0.0 to 1.0 to get the optimal values for embedding the image [<xref ref-type="bibr" rid="scirp.128358-ref20">20</xref>] . As the value of α increases the value of β decreases so that the host image becomes more visible whiles the scrambled image becomes invisible.</p><p>And that for the decoding processes will be to find a reverse process for each stage of the encoding processes. Equation 3 is used to extract the encrypted image through to the RNS reverse conversion stage where the reverse converter in [<xref ref-type="bibr" rid="scirp.128358-ref10">10</xref>] is adopted.</p><p>E i m = ( W i m − α H i m ) / β (3)</p><p>These processes are summarised as a pseudocode in Algorithm 1.</p><p>The proposed scheme was simulated using MATLAB on a Core i5 processor. Firstly, the image referred to in this paper as “Pepper” was taken through the encryption process. The results of this experiment are shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>. From the experiment, it can be observed that the image is totally distorted. Regarding the security of the image, the attacker will have to first know the moduli set used to generate the random key and how the GA process was conducted with the sub-keys obtained from the expanded key.</p><p>Next, the encrypted image was embedded into the Host image, “Lena” using the Equation 2 with scaling factors, α = 0.99 and β = 0.009 as shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>. These scaling factors were chosen after conducting series of tests on</p><p>the two images by varying between 0.0 to 1.0. This provided a suitable blend of the two images and conceals the existence of the encrypted image and leaves no traces of suspicion to an attacker.</p><p>To extract the encrypted image from the host image, DWT is applied on both the watermarked image and host image and then alpha blending. Equation 3 is applied on the low frequency sub-bands of both images. After extraction, the inverse DWT is applied on the encrypted image. The encrypted image is then taken through reverse GA and RNS procedure to obtain the original image. <xref ref-type="fig" rid="fig4">Figure 4</xref> shows the experiment conducted on the extraction process. It is obvious that the decrypted image produced a similar image as the original and does not cause any distortion as a result of the encryption process.</p></sec><sec id="s4"><title>4. Results Analysis</title><p>The results from the simulation of the proposed scheme were analyzed based on standard metrics on imperceptibility and robustness for watermarking schemes.</p><sec id="s4_1"><title>4.1. Visual Testing</title><p>As shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>, it is obvious that the encrypted image looks very chaotic at sight and does not provide any clue that points to the original image. Therefore, it can be concluded that there are no perceptual similarities between the original image and the encrypted image. It can also be observed from <xref ref-type="fig" rid="fig4">Figure 4</xref> that the watermarked image is similar to the original “Lena” image from the human visual perspective and does not reveal any clue to the fact that there is an embedded image in it. The decrypted image in <xref ref-type="fig" rid="fig5">Figure 5</xref> also looks exactly the same as the original “Pepper”, showing no form of distortion as a result of the encryption process.</p></sec><sec id="s4_2"><title>4.2. Sensitivity Analysis</title><p>In order to affirm the claim that the encrypted image differ significantly from the original image, the following statistical measures were performed:</p><p>A. MSE and PSNR Analysis</p><p>The Mean Square Error (MSE) is the average of the squares of the “errors” between the original image and the encrypted image. The error is the measure of the extent to which the values of the original image differ from the encrypted</p><p>image. This can be represented mathematically as [<xref ref-type="bibr" rid="scirp.128358-ref1">1</xref>] ;</p><p>MSE = 1 M &#215; N ∑ i = 1 M ∑ i = 1 N ( P ( i , j ) − C ( i , j ) ) 2 (4)</p><p>where P ( i , j ) represents the original image whiles C(i,j) represents the watermarked image, M and N are the number of rows and columns of the two images. The MSE values indicates the measure of the difference between the original and the watermarked image. The higher the MSE value, the larger the difference between the original image and the watermarked image and vice versa.</p><p>Peak Signal to Noise Ratio (PSNR) is an expression of the ratio of peak signal power to noise power. This can be represented mathematically as [<xref ref-type="bibr" rid="scirp.128358-ref3">3</xref>] ;</p><p>PSNR = 20 log 10 ( I max MSE ) (5)</p><p>where I max is the maximum signal value of the input image (I) data type. For example, if the input image has a double-precision floating point data type, then I max = 1 , else if it has an 8-bit unsigned integer data type, I max = 255 . The lower the PSNR value, the larger the distortion between the original and the watermarked image.</p><p>B. NPCR and UACI Analysis</p><p>Number of Pixel Change Rate (NPCR) means the percentage difference of pixels among the original image and the encrypted image. The NPCR can be defined mathematically as [<xref ref-type="bibr" rid="scirp.128358-ref21">21</xref>] ;</p><p>NPCR = ∑ i = 1 M ∑ j = 1 N D ( i , j ) M &#215; N &#215; 100 , (6)</p><p>D ( i , j ) = { 0 ,     if   C 1 ( i , j ) = C 2 ( i , j ) 1 ,       if   C 1 ( i , j ) ≠ C 2 ( i , j ) (7)</p><p>Let C 1 ( i , j ) be the pixel values of the one image (original, encrypted or watermarked) and C 2 ( i , j ) , another image (original, encrypted or watermarked) in the two experiments conducted at the i<sup>th</sup> pixel row M and j<sup>th</sup> column N . The value of NPCR shows the degree to which the pixels have been randomly changed. Therefore, the higher the value, the more the change in pixel locations and vice versa.</p><p>The Unified Average Changing Intensity (UACI) is the average intensity of difference in pixels. The UACI can also be defined mathematically as [<xref ref-type="bibr" rid="scirp.128358-ref4">4</xref>] ;</p><p>UACI = 1 M &#215; N [ ∑ i = 1 M ∑ j = 1 N C 1 ( i , j ) − C 2 ( i , j ) 255 ] &#215; 100 (8)</p><p>The UACI values from <xref ref-type="table" rid="table1">Table 1</xref> depicts that most of the pixel values of the encrypted image have been changed as compared to the original image and vice versa on one hand and that for the watermarked image and the original shows a minimal change.</p><p><xref ref-type="table" rid="table1">Table 1</xref> depicts the analysis of the proposed algorithm based on the MSE, PSNR, NPCR and UACI metrics. The higher value of MSE recorded in the Original &amp; Encrypted image shows the larger difference between the original image and the encrypted while the lower value of MSE recorded in the Original &amp; Watermarked image also shows the similarities between the original image and the watermarked image. On the other hand, the lower value of PSNR recorded in the Original &amp; Encrypted indicates larger visual distortion between the original and the encrypted image, whiles the higher values of PSNR in the Original &amp; Watermarked image show how negligible the distortion between the Original and Watermarked image is.</p><p>The high measure recorded for the NPCR in Original &amp; Encrypted indicates that the majority of the pixel positions have been randomly changed while that of the Original &amp; Watermarked shows that, just a few of the pixels have been changed. The lower UACI value in the Original &amp; Encrypted image also depicts the higher change in pixel intensity of the encrypted image as compared to the original image while the higher value of the Original &amp; Watermarked image shows minimal change in pixel intensity as compared to the original. This makes it difficult to associate the encrypted image to the original image which could provide clues for attackers. On the other hand, attackers are not able to identify that there is a hidden image in the “watermarked Lena” image since there is no much distortion in the watermarked image.</p></sec><sec id="s4_3"><title>4.3. Statistical Analysis</title><p>The statistical analysis of an encrypted or watermarked image provides much information about the security of the image.</p><p>A. Histogram Analysis</p><p>An encrypted image is secured against attacks if its histogram is entirely different from the histogram of its original image. Thus, the two images do not contain statistical similarities [<xref ref-type="bibr" rid="scirp.128358-ref22">22</xref>] . An analysis of the results from <xref ref-type="fig" rid="fig5">Figure 5</xref> reveal that the histogram of the encrypted image is totally different from the histogram</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> PSNR, MSE, NPCR AND UACI comparison</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Image</th><th align="center" valign="middle" >PSNR</th><th align="center" valign="middle" >MSE</th><th align="center" valign="middle" >NPCR (%)</th><th align="center" valign="middle" >UACI (%)</th></tr></thead><tr><td align="center" valign="middle" >Original &amp; Encrypted</td><td align="center" valign="middle" >13.66</td><td align="center" valign="middle" >36.55</td><td align="center" valign="middle" >99.6680</td><td align="center" valign="middle" >19.1495</td></tr><tr><td align="center" valign="middle" >Original &amp; Watermarked</td><td align="center" valign="middle" >48.87</td><td align="center" valign="middle" >0.978</td><td align="center" valign="middle" >13.5481</td><td align="center" valign="middle" >32.6742</td></tr></tbody></table></table-wrap><p>of its original image. It does not contain any statistical similarities that may provide any clue about its original image. Therefore, the proposed scheme is secure against histogram attacks.</p><p><xref ref-type="fig" rid="fig5">Figure 5</xref> shows the histogram of the original image and the encrypted image. The histogram of the original image contains large sharp rises and declines whiles the histogram of the encrypted image shows uniform distribution making them differ significantly from each other and has no statistical similarities.</p><p><xref ref-type="fig" rid="fig6">Figure 6</xref> shows the histogram of the original and watermarked images. It can be seen clearly that, both histograms possesses statistical similarities making it difficult for an attacker to detect that there is an embedded image.</p></sec><sec id="s4_4"><title>4.4. Speed Test</title><p>The speed test is a measure of the time taken to execute the proposed scheme. How complex the scheme is, is determine by its execution time. <xref ref-type="table" rid="table2">Table 2</xref> shows the time taken (in seconds) for encrypting and embedding the encrypted image and the extraction and decryption of the encrypted image. The execution time of the algorithm from the table shows optimal performance.</p></sec><sec id="s4_5"><title>4.5. Performance Evaluation</title><p>The performance of the scheme is compared with existing schemes by [<xref ref-type="bibr" rid="scirp.128358-ref23">23</xref>] whose work utilised nonlinear spatiotemporal chaotic map and integer wavelet</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Encrypted vs. watermarked: MSE and PSNR comparison</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Image</th><th align="center" valign="middle" >Scheme</th><th align="center" valign="middle" >MSE</th><th align="center" valign="middle" >PSNR</th><th align="center" valign="middle" >Time</th></tr></thead><tr><td align="center" valign="middle" >Encrypted Image</td><td align="center" valign="middle" >[<xref ref-type="bibr" rid="scirp.128358-ref23">23</xref>]</td><td align="center" valign="middle" >8.8315</td><td align="center" valign="middle" >8509.9886</td><td align="center" valign="middle" >NA</td></tr><tr><td align="center" valign="middle" ></td><td align="center" valign="middle" >Proposed</td><td align="center" valign="middle" >18.7325</td><td align="center" valign="middle" >8610.5236</td><td align="center" valign="middle" >0.06579</td></tr><tr><td align="center" valign="middle" >Watermarked Image</td><td align="center" valign="middle" >[<xref ref-type="bibr" rid="scirp.128358-ref24">24</xref>]</td><td align="center" valign="middle" >48.23</td><td align="center" valign="middle" >0.0976</td><td align="center" valign="middle" >NA</td></tr><tr><td align="center" valign="middle" ></td><td align="center" valign="middle" >Proposed</td><td align="center" valign="middle" >62.48</td><td align="center" valign="middle" >0.657</td><td align="center" valign="middle" >0.01257</td></tr></tbody></table></table-wrap><p>transform (IWT) to encrypt an image. The proposed scheme was also compared with the existing scheme by [<xref ref-type="bibr" rid="scirp.128358-ref24">24</xref>] which, also employed DWT to perform image watermarking. <xref ref-type="table" rid="table2">Table 2</xref> depicts the level of noise or changes introduced into the encrypted images. The values for the encrypted image in the table indicates that, there is much distortion in the proposed scheme as compared to the existing scheme whiles that of the watermarked image indicates that minimal distortion exists in the watermarked image of the proposed scheme as compared to the existing scheme.</p><p><xref ref-type="table" rid="table3">Table 3</xref> also compares the NPCR and UACI values of the proposed scheme with the existing scheme by [<xref ref-type="bibr" rid="scirp.128358-ref25">25</xref>] whose work focused on the use of hash function with two-round diffusion process to encrypt an image whiles The NPCR and UACI values of the proposed scheme on the watermarked image was also compared with the existing scheme by [<xref ref-type="bibr" rid="scirp.128358-ref26">26</xref>] . The existing scheme leveraged on non sub-sampled contourlet transform (NSCT), redundant discrete wavelet transform (RDWT) and singular value decomposition (SVD) approach. The results indicates that the proposed scheme performed favourably better as compared to the existing schemes.</p><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Encrypted vs. watermarked: NPCR and UACI comparison</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Image</th><th align="center" valign="middle" >Scheme</th><th align="center" valign="middle" >MSE</th><th align="center" valign="middle" >PSNR</th></tr></thead><tr><td align="center" valign="middle" >Encrypted Image</td><td align="center" valign="middle" >[<xref ref-type="bibr" rid="scirp.128358-ref25">25</xref>]</td><td align="center" valign="middle" >99.6628</td><td align="center" valign="middle" >33.6510</td></tr><tr><td align="center" valign="middle" ></td><td align="center" valign="middle" >Proposed</td><td align="center" valign="middle" >99.6680</td><td align="center" valign="middle" >33.6537</td></tr><tr><td align="center" valign="middle" >Watermarked Image</td><td align="center" valign="middle" >[<xref ref-type="bibr" rid="scirp.128358-ref26">26</xref>]</td><td align="center" valign="middle" >0.9961</td><td align="center" valign="middle" >0.2853</td></tr><tr><td align="center" valign="middle" ></td><td align="center" valign="middle" >Proposed</td><td align="center" valign="middle" >0.9882</td><td align="center" valign="middle" >0.2869</td></tr></tbody></table></table-wrap></sec></sec><sec id="s5"><title>5. Conclusion</title><p>Privacy in this era of technological dispensation has become a challenge in the film and TV industry. In this paper, a new digital watermarking scheme using GA and Residual Numbers (GARN) was proposed. The results of the simulation show that the proposed scheme is imperceptible and robust.</p></sec><sec id="s6"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s7"><title>Cite this paper</title><p>Agbedemnab, P.A., Akolgo, M. and Agebure, M.A. (2023) A New Image Watermarking Scheme Using Genetic Algorithm and Residual Numbers with Discrete Wavelet Transform. Journal of Information Security, 14, 422-436. https://doi.org/10.4236/jis.2023.144023</p></sec></body><back><ref-list><title>References</title><ref id="scirp.128358-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Yu, X.Y., Wang, C.Y. and Zhou, X. (2018) A Survey on Robust Video Watermarking Algorithms for Copyright Protection. Applied Sciences, 8, Article 1891. https://doi.org/10.3390/app8101891</mixed-citation></ref><ref id="scirp.128358-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Bertini, F., Rizzo, S.G. and Montesi, D. (2019) Can Information Hiding in Social Media Posts Represent a Threat? IEEE Computer, 52, 52-60. https://doi.org/10.1109/MC.2019.2917199</mixed-citation></ref><ref id="scirp.128358-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Khanzadi, H., Eshghi, M. and Borujeni, S.E. (2014) Image Encryption Using Random Bit Sequence Based on Chaotic Maps. Arabian Journal for Science and Engineering, 39, 1039-1047. https://doi.org/10.1007/s13369-013-0713-z</mixed-citation></ref><ref id="scirp.128358-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Verma, V.S. and Jha, R.K. (2015) An Overview of Robust Digital Image Watermarking. IETE Technical Review, 32, 479-496. https://doi.org/10.1080/02564602.2015.1042927</mixed-citation></ref><ref id="scirp.128358-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Mohanarathinam, A., Kamalraj, S., Prasanna Venkatesan, G.K.D., Ravi, R.V. and Manikandababu, C.S. (2020) Digital Watermarking Techniques for Image Security: A Review. Journal of Ambient Intelligence and Humanized Computing, 11, 3221-3229. https://doi.org/10.1007/s12652-019-01500-1</mixed-citation></ref><ref id="scirp.128358-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Averkiou, M. (2015) Digital Watermarking. Department of Computer Science University of Cyprus. https://api.semanticscholar.org/CorpusID:5553428</mixed-citation></ref><ref id="scirp.128358-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Al Embaby, A., Wahby Shalaby, M.A. and Elsayed, K.M. (2020) Digital Watermarking Properties, Classification and Techniques. International Journal of Engineering and Advanced Technology, 9, 2742-2750. https://doi.org/10.35940/ijeat.C5773.029320</mixed-citation></ref><ref id="scirp.128358-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Baagyere, E.Y., Agbedemnab, P.A., Qin, Z., Daabo, M.I. and Qin, Z.G. (2020) A Multi-Layered Data Encryption and Decryption Scheme Based on Genetic Algorithm and Residual Numbers. IEEE Access, 8, 100438-100447. https://doi.org/10.1109/ACCESS.2020.2997838</mixed-citation></ref><ref id="scirp.128358-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Yang, J.H., Chang, C.C. and Chen, C.Y. (2004) A High-Speed Division Algorithm in Residue Number System Using Parity-Checking Technique. International Journal of Computer Mathematics, 81, 775-780. https://doi.org/10.1080/00207160410001708805</mixed-citation></ref><ref id="scirp.128358-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Agbedemnab, P.A.N., Baagyere, E.Y. and Daabo, M.I. (2019) A Novel Text Encryption and Decryption Scheme Using the Genetic Algorithm and Residual Numbers. Kalpa Publications in Computing, 12, 20-31.</mixed-citation></ref><ref id="scirp.128358-ref11"><label>11</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Ram</surname><given-names> B. </given-names></name>,<etal>et al</etal>. (<year>2013</year>)<article-title>Digital Image Watermarking Technique Using Discrete Wavelet Transform and Discrete Cosine Transform</article-title><source> International Journal of Science and Research</source><volume> 10</volume>,<fpage> 1257</fpage>-<lpage>1264</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.128358-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Debnath, L. and Shah, F.A. (2017) Lecture Notes on Wavelet Transforms. Birkh&amp;#228;user, Cham. https://doi.org/10.1007/978-3-319-59433-0</mixed-citation></ref><ref id="scirp.128358-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">El Houby, E.M.F. and Yassin, N.I.R. (2020) Wavelet-Hadamard Based Blind Image Watermarking Using Genetic Algorithm and Decision Tree. Multimedia Tools and Applications, 79, 28453-28474. https://doi.org/10.1007/s11042-020-09333-3</mixed-citation></ref><ref id="scirp.128358-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Mood, N.N. and Konkula, V.S. (2018) A Novel Image Watermarking Scheme Based on Wavelet Transform and Genetic Algorithm. International Journal of Intelligent Engineering and Systems, 11, 251-260. https://doi.org/10.22266/ijies2018.0630.27</mixed-citation></ref><ref id="scirp.128358-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Prakasa Rao, R.S. and Kumar, P.R. (2017) Digital Signature Based Image Watermarking Using GA and PSO. International Journal of Engineering Research &amp; Technology, 6, 373-380. https://doi.org/10.17577/IJERTV6IS060208</mixed-citation></ref><ref id="scirp.128358-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Singh, M. and Saxena, A. (2017) Image Watermarking Using Discrete Cosine Transform [DCT] and Genetic Algorithm [GA]. International Journal of Innovation in Engineering Research &amp; Management, 4, 1-13.</mixed-citation></ref><ref id="scirp.128358-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Singh, S.K., Gopi, V.P. and Palanisamy, P. (2014) Image Security Using DES and RNS with Reversible Watermarking. 2014 International Conference on Electronics and Communication Systems (ICECS), Coimbatore, 13-14 February 2014, 1-5.</mixed-citation></ref><ref id="scirp.128358-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Banerjee, S., Chakraborty, S., Dey, N., Pal, A.K. and Ray, R. (2015) High Payload Watermarking Using Residue Number System. International Journal of Image, Graphics and Signal Processing, 7, 1-8. https://doi.org/10.5815/ijigsp.2015.03.01</mixed-citation></ref><ref id="scirp.128358-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Bhangale, P.P., Gawad, A., Maurya, J. and Raje, R.S. (2017) Image Security Using AES and RNS with Reversible Watermarking. International Journal of Innovation Science, Engineering &amp; Technology, 4, 350-355.</mixed-citation></ref><ref id="scirp.128358-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Maji, S. and Nath, A. (2016) Scope and Issues in α Compositing Technology. International and Issues in Alpha Compositing Technology, 2, 38-43.</mixed-citation></ref><ref id="scirp.128358-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">&amp;#214;zkaynak, F. (2017) Role of NPCR and UACI Tests in Security Problems of Chaos Based Image Encryption Algorithms and Possible Solution Proposals. 2017 International Conference on Computer Science and Engineering (UBMK), Antalya, 5-8 October 2017, 621-624. https://doi.org/10.1109/UBMK.2017.8093481</mixed-citation></ref><ref id="scirp.128358-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Jolfaei, A. and Mirghadri, A. (2010) An Image Encryption Approach Using Chaos and Stream Cipher. Journal of Theoretical and Applied Information Technology, 19, 117-125.</mixed-citation></ref><ref id="scirp.128358-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Loukhaoukha, K., Chouinard, J.Y. and Berdai, A. (2012) A Secure Image Encryption Algorithm Based on Rubik’s Cube Principle. Journal of Electrical and Computer Engineering, 2012, Article ID: 173931. https://doi.org/10.1155/2012/173931</mixed-citation></ref><ref id="scirp.128358-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Sharma, P. and Swami, S. (2013) Digital Image Watermarking Using 3 Level Discrete Wavelet Transform. Conference on Advances in Communication and Control Systems (CAC2S 2013), 129-133. https://www.atlantis-press.com/article/6291</mixed-citation></ref><ref id="scirp.128358-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Norouzi, B., Seyedzadeh, S.M., Mirzakuchaki, S. and Mosavi, M.R. (2014) A Novel Image Encryption Based on Hash Function with Only Two-Round Diffusion Process. Multimedia Systems, 20, 45-64. https://doi.org/10.1007/s00530-013-0314-4</mixed-citation></ref><ref id="scirp.128358-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Thakur, S., Singh, A.K., Ghrera, S.P. and Mohan, A. (2020) Chaotic Based Secure Watermarking Approach for Medical Images. Multimedia Tools and Applications, 79, 4263-4276. https://doi.org/10.1007/s11042-018-6691-0</mixed-citation></ref></ref-list></back></article>