CN115834788A - Color image encryption method for visualized DNA fulcrum-mediated strand displacement reaction - Google Patents
Color image encryption method for visualized DNA fulcrum-mediated strand displacement reaction Download PDFInfo
- Publication number
- CN115834788A CN115834788A CN202211435627.0A CN202211435627A CN115834788A CN 115834788 A CN115834788 A CN 115834788A CN 202211435627 A CN202211435627 A CN 202211435627A CN 115834788 A CN115834788 A CN 115834788A
- Authority
- CN
- China
- Prior art keywords
- dna
- sequence
- reaction
- scrambling
- matrix
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000006073 displacement reaction Methods 0.000 title claims abstract description 50
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000001404 mediated effect Effects 0.000 title claims abstract description 27
- 230000000739 chaotic effect Effects 0.000 claims abstract description 61
- 239000011159 matrix material Substances 0.000 claims abstract description 57
- 238000001514 detection method Methods 0.000 claims abstract description 32
- 230000001174 ascending effect Effects 0.000 claims abstract description 9
- 108020004414 DNA Proteins 0.000 claims description 243
- 102000053602 DNA Human genes 0.000 claims description 97
- 238000006243 chemical reaction Methods 0.000 claims description 72
- 238000009792 diffusion process Methods 0.000 claims description 29
- 230000000694 effects Effects 0.000 claims description 20
- 238000013461 design Methods 0.000 claims description 12
- 238000010791 quenching Methods 0.000 claims description 11
- 230000000171 quenching effect Effects 0.000 claims description 11
- 238000006555 catalytic reaction Methods 0.000 claims description 10
- 239000003086 colorant Substances 0.000 claims description 9
- 238000006731 degradation reaction Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 7
- 238000004020 luminiscence type Methods 0.000 claims description 4
- 238000010276 construction Methods 0.000 claims description 3
- 239000003550 marker Substances 0.000 claims description 3
- 239000000463 material Substances 0.000 claims description 3
- 238000012360 testing method Methods 0.000 claims description 3
- 239000002699 waste material Substances 0.000 claims description 3
- 239000007850 fluorescent dye Substances 0.000 claims description 2
- 238000005304 joining Methods 0.000 claims description 2
- 238000003384 imaging method Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 5
- 238000009826 distribution Methods 0.000 description 3
- 238000002372 labelling Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000035945 sensitivity Effects 0.000 description 3
- 239000000126 substance Substances 0.000 description 3
- FBOUIAKEJMZPQG-AWNIVKPZSA-N (1E)-1-(2,4-dichlorophenyl)-4,4-dimethyl-2-(1,2,4-triazol-1-yl)pent-1-en-3-ol Chemical compound C1=NC=NN1/C(C(O)C(C)(C)C)=C/C1=CC=C(Cl)C=C1Cl FBOUIAKEJMZPQG-AWNIVKPZSA-N 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 108091028043 Nucleic acid sequence Proteins 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000000137 annealing Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000005842 biochemical reaction Methods 0.000 description 1
- 230000003750 conditioning effect Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000005672 electromagnetic field Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 238000009396 hybridization Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 238000009827 uniform distribution Methods 0.000 description 1
Images
Landscapes
- Measuring Or Testing Involving Enzymes Or Micro-Organisms (AREA)
Abstract
The invention provides a color image encryption method for visualized DNA pivot mediated strand displacement reaction, which comprises the following steps: constructing a Rnano chaotic system facing to a DNA fulcrum mediated strand displacement reaction; by imaging in plain colourR、G、BThe channel matrixes are respectively converted into sequences and arranged in ascending order to obtain sub-keys; endowing an initial value to the R-shaped sneaker chaotic system by utilizing a sub-secret key, splicing the generated three data groups, and obtaining three chaotic sequences according to the sub-secret key; using data sets to respectively align color plaintext imagesPThe corresponding sequences are scrambled with color components, and the three chaotic sequences are utilized to scramble elements in the scrambled matrix respectively to obtain a scrambling matrix; and diffusing the scrambling matrixes by the three chaotic sequences respectively to obtain an encrypted image. The invention obtains the chaotic sequence by deformation splicing of the detection result, is applied to the R, G, B component and pixel two layers of the image, and can effectively ensureThe security and the attack resistance of the encryption of the images are prevented.
Description
Technical Field
The invention relates to the technical field of biological calculation, information processing and data encryption, in particular to a color image encryption method for visualized DNA pivot mediated strand displacement reaction, which ensures the safety of an image encryption technology.
Background
While a conventional electronic computer performs serial computation, a new computer represented by a biological computer, an optical computer, a quantum computer, a nano computer performs an operation mode of parallel computation or distributed computation, and has attracted great interest and attention of scientists. DNA is an important carrier of biological computers, and has attracted attention due to its characteristics such as parallelism of reaction, large information storage capacity, and low energy consumption, and has attracted intensive research by scientists in the fields of artificial intelligence, biological engineering, mathematics, physics, chemistry, and information processing. In recent years, DNA pivot mediated strand displacement reaction has been widely used in a variety of fields as a novel biological computing technique. The DNA fulcrum-mediated strand displacement reaction conforms to the Watson-Crick base pairing principle, does not need external electromagnetic field influence and annealing operation, and can be realized at normal temperature, so the DNA fulcrum-mediated strand displacement reaction has the controllable and predictable kinetic characteristics, and complicated and various DNA digital circuits and DNA analog circuits can be constructed through a cascade mode.
The DNA digital circuit belongs to a binary circuit, and when the concentration of a signal DNA chain is higher than a threshold value, the output value is 1, otherwise, the output value is 0. Compared with a DNA digital circuit, the DNA analog circuit has higher requirements on the concentration detection precision of a DNA chain, and because the detection concentration of a signal DNA chain is an output value, the realization of the application of the DNA analog circuit is particularly important under the condition of limited concentration detection precision of the DNA chain at present.
In the conventional chaotic encryption algorithm, the sensitivity of the chaotic system to an initial value and a parameter is utilized to expand the space of a secret key so as to resist the violent attack of an attacker, but the method is not suitable for a semi-synthetic biological system because the detection precision of concentration is limited. To address this challenge, the present invention expands the key space with a sub-key.
Disclosure of Invention
Aiming at the technical problems that the DNA chain concentration detection precision of the existing DNA analog circuit is limited, and the sensitivity requirement of a general chaotic circuit on initial conditions is difficult to realize, the invention provides a color image encryption method for visualized DNA fulcrum-mediated chain displacement reaction.
In order to achieve the purpose, the technical scheme of the invention is realized as follows: a color image encryption method for visualized DNA pivot mediated strand displacement reaction comprises the following steps:
the method comprises the following steps: construction of a DNA-based strand displacement reaction mediated by a DNA fulcrumA chaotic system;
step two, key generation: respectively converting the R, G, B channel matrixes of the colorful plaintext image P into sequences and arranging the sequences in an ascending order to obtain sub-keys;
step three, generating a chaotic sequence: using a sub-key to giveThe chaotic system gives an initial value toSplicing three data sets generated by the chaotic system, and obtaining three chaotic sequences according to the sub secret keys;
step four: color image scrambling: respectively scrambling the color components of the sequences corresponding to the R, G, B channel matrix of the color plaintext image P by using the three data groups, and scrambling the elements in the matrix after the color components are scrambled by using the three chaotic sequences to obtain a scrambling matrix
Step five: image diffusion: respectively aligning the three chaotic sequences to a scrambling matrixAnd diffusing to obtain an image consisting of the matrix as an encrypted image.
Preferably, in the first stepThe ideal chemical reaction network of the chaotic system is as follows:
wherein X, Y and Z are signal reaction participants, k α α =1, …,7 is the reaction rateAnd Φ represents a useless substance.
The differential equation for an idealized chemical reaction network is:
Preferably, the DNA compiling method of the idealized chemical reaction network is:
(I)andbelongs to a catalytic reaction module I, and is compiled into a DNA strand displacement reaction:
wherein ,Xi Is a signal DNA strand, i is a positive integer, A i ,P i ,N i And C i Is an auxiliary DNA strand, and the initial concentration of the auxiliary DNA strand is C m (ii) a Reaction rate q i and ki Satisfy q i ≤q m ,k i =q i C m ,q m Represents the maximum reaction rate; design of Signal DNA chain X i Has a DNA single-stranded structure of<x3^x2 x1^>Helper DNA strand A i ,P i ,N i And C i The complex chain structures of the DNA are respectively as follows: { x3^ x }: x2 x1^ x }, and]::<s1 s2^x1^k2^>、{x1^*}:[s1 s2^]<t6 x2 x1^k2^>:<s1 s2^t6 x2>[x1^k2^]、[x2 x1^]:{k2^*}::<k3^t1^>and<x3^>::[x2 x1^]{ k3^ t1^ wherein }, wherein,<>represents a top chain structural portion of a DNA chain, [ 2 ]]Representing the double-stranded part of the DNA strand that has been complementarily paired, for joining two double-stranded domains, and { } representing the lower-strand domain of the DNA strand, for labeling the upper-strand domain, { character } B* Used to label the down-chain domain; waste indicates an unusable DNA strand, T i 、Ta i 、Pa i Respectively representing products generated by DNA reaction;
(II)belongs to a catalytic reaction module II, and is compiled as a DNA strand displacement reaction:
wherein ,Xi 、Y i As a signal DNA strand, B i ,Am i ,E i ,Ea i ,Eb i And Fa i Is an auxiliary DNA strand; reaction rate q i ,q′ i and ki Satisfy q i ,q′ i ≤q m ,k i =q i (ii) a Designing input signal Y i The DNA single strand structure of<y1^y2 y3^>Auxiliary DNA chain B i ,E i ,Ea i And Fa i The complex chain structures of the DNA are respectively as follows: { x3^ x } [ x2 x1^ y } ]]:[y2 y3^]::<b2 b3^r1 r2^>、{y3^*}:<r1 r2^b1 y2>[b2 b3^]:[r1 r2^]::<b1 y2 b2 b3^>、[x2 x1^]:{k2^*}::<k3^t1^>And<x3^>::[x2 x1^]{ k3^ t1^ and { c1^ c2^ are }:<y1^>[y2 y3^];Ma i products formed by DNA reactions, fa i Indicates the DNA strand that should be added before the reaction starts;
(III)belongs to an annihilation reaction module, and is compiled into a DNA strand displacement reaction:
wherein ,Fbi And Fc i Is an auxiliary DNA strand; design of helper DNA strand Fb i The double-stranded structure of the DNA is { x3^ x }: x2 x1^ y]:[y2 y3^];Ad i Represents a product produced by a DNA reaction;
(IV)andbelongs to a degradation reaction module I, and is compiled into a DNA strand displacement reaction:
wherein ,Gi ,Ac i And Tp i Is an auxiliary DNA strand; designed helper DNA strand G i And Tp i The double-stranded structure of the DNA is { x3^ x }: x2 x1^ x3^ x]:[x2 x1^]::<c2^c3^>And [ x3^ x2 x1^ x]{c2^*c3^*};Da i Represents a product produced by a DNA reaction;
(V)belongs to a degradation reaction module II, and is compiled into a DNA strand displacement reaction:
wherein ,Kai Is an auxiliary DNA strand; designed helper DNA strand Ka i The DNA double-stranded structure is { y1^ x }: y2 y3^ x ^ y];
(VI) DNA Strand Displacement reactionBelongs to a regulation reaction module and is used for removing the buffer effect:
wherein ,Vai and Wai For the auxiliary DNA strand, omega i Generating a product for the DNA; design of auxiliary DNA strands Va i The DNA double-chain structure is [ h1^ y2]:{y3^*},qx i 、qy i Respectively representing forward reaction rate and backward reaction rate;
wherein x1, x2, x3, y1, y2, y3, z1, z2, z3, b1, b2, b3, c1, c2, c3, r1, r2, s1, s2, t6, k2, k3, and t1 each represents a different DNA base sequence;
the above-mentionedSignal DNA strand X in DNA strand displacement reaction i Signal DNA strand Y i Signal DNA strand Z i Auxiliary DNA strand C i 、Fa i 、Tp i Provided with fluorophores of different colors, a signal DNA chain X i Signal DNA strand Z i Auxiliary DNA strand A i 、C i 、Fa i 、B i 、Fb i 、G i 、Ka i 、Va i 、Tp i The quenching group is arranged on the fluorescent probe, the quenching group can absorb fluorescence emitted by the fluorophore, when the fluorophore is far away from the quenching group, the fluorescence is not absorbed, and the luminous intensity can be detected to be used as a marker; when the fluorophore is near the quenching bolus, fluorescence is absorbed and no luminescence intensity is detected.
Preferably, the method for obtaining the sub-key comprises:
step 21: the R, G, B channel matrix P of the color plaintext image P R 、P G and PB Are respectively reconstructed into sequences P 1R 、P 1G and P1B The method comprises the following steps:
where reshape (,) represents the reconstruction function and the sequence Andare respectively a sequence P 1R M × N pixel values;
step 22: will sequence P 1R 、P 1G and P1B The pixel values in (1) are arranged:
wherein sort (#) represents an ascending sort function, whereinAndare respectively a sequence P 1R 、P 1G and P1B A new sequence after the ascending order arrangement,andare respectively a new sequence h r 、h g and hb The index value of (a);
step 23: then the key is key = sum r +sum g +sum b Wherein, sum r 、sum g and sumb The calculation method comprises the following steps:
obtaining K sub-keys by using the key:
d k =mod(key,a k ),k=1≤k≤K;
wherein ,sumr 、sum g and sumb The sum of pixel values representing R, G, B components, respectively, mod represents a function for the remainder, a k =k+0.1,K=4,5,…,∞。
Preferably, the method for generating the chaotic sequence comprises:
step 31: according to the sub-key pairInitial values of signal DNA chains X, Y and Z of the chaotic system are given as follows:
wherein ,[X]0 、[Y] 0 、[Z] 0 Initial values for DNA signal chains X, Y and Z, respectively, d 1 (nM)、d 2 (nM)、d 3 (nM) is the sub-key d k nM is nanomolar;
step 32: splicing signal DNA chains X, Y and Z to obtain data groups X ', Y ' and Z ', wherein the splicing method comprises the following steps:
wherein ,index values representing the sequence, sumI' =1,2, …, ω, j =1,2, …, r, representing the absolute value and the rounded-down sign, respectively 2 Omega is the number of splices, anRepresents rounding up; s is the number of test data sets to discard, r 1 、r 2 Is an intermediate variable;
step 33: obtaining chaotic sequences U according to the data groups X ', Y ' and Z ' respectively r 、U g 、U b :
preferably, theThree groups of data groups obtained by signal DNA chains X, Y and Z of chaotic systemAndeach set of data of (1) contains 1+r 2 Data when the DNA strand displacement reaction formally started sxT 0 After second, the first s detection data sets are discarded and every T 0 The concentration of the signal DNA chains X, Y and Z is detected once in seconds, and the total detection time is T = (1 + s + r) 2 )×T 0 Wherein the splicing times areIntermediate variable r 2 =(M×N-r 1 ) Omega, intermediate variable r 1 =mod(M×N,ω)。
Preferably, the method for performing color component scrambling on the sequence corresponding to the R, G, B channel matrix of the color plaintext image P by using three data sets in the fourth step is: respectively aligning the sequence P according to the concentration of the signal chain on the R, G, B component level 1R 、P 1G and P1B Scrambling the medium elements:
the R, G, B component obtained after scrambling is the sequenceAndandare respectively a sequence P 1R 、P 1G and P1B The elements of (1); x' l 、Y′ l 、Z′ l The I-th elements of data sets X ', Y ' and Z ' are shown, respectively, and 1nM and 2nM are the DNA strand concentrations.
wherein ,s1 and s2 Is a positive integer and is a non-zero integer,andrespectively represent matricesAndan element of (1);
scrambling matrix Γ = [ Γ = [ Γ ] r ,Γ g ,Γ b] and Ψ=[Ψr ,Ψ g ,Ψ b ]Comprises the following steps:
wherein m and n respectively represent the row and the column; u shape r (m)、U g (m)、U b (m)、U r (n)、U g (n)、U b (n) respectively represent chaotic sequences U r 、U g 、U b The mth and nth elements of (a);
Preferably, the image diffusion method in the step five is as follows:
step 52: by a chaotic sequence U r 、U g and Ub Obtaining a diffusion sequence V r 、V g and Vb The method comprises the following steps:
wherein ,respectively represent diffusion sequences V r 、V g and Vb 1nM, 2nM represent the concentration of DNA strands;
step 53: using diffusion sequences V r 、V g and Vb Separate diffusion sequencesAndobtaining an encrypted image, wherein the calculation method comprises the following steps:
wherein ,in order to perform the exclusive-or operation,respectively represent chaotic sequences U r 、U g 、U b Diffusion sequence V r 、V g 、V b And post-diffusion sequence E 1r 、E 1g 、E 1b The value of the ith element of (c);
post-diffusion sequence E 1r 、E 1g 、E 1b Respectively reconstructing to obtain a matrix E r ,E g ,E b Then the matrix E is formed r ,E g ,E b And splicing the three channels R, G, B to obtain a ciphertext image.
Preferably, the corresponding image decryption method is:
step 1: using diffusion sequences V r 、V g and Vb Removing the diffusion effect:
wherein ,r, G, B sequences corresponding to the three channel components respectively representing the decrypted image;
step 2: for sequence D r 、D g and Db Go on heavilyStructure:
wherein ,ΛR 、Λ G 、Λ B Respectively represent D r 、D g and Db Reconstructing to obtain a matrix;
and step 3: at the pixel level, the scrambling effect is eliminated from the last row to the first row, and the last column to the first column:
wherein M '= M, M-1,M-2, …,1,n' = N, N-1,N-2, …,1;
and 4, step 4: matrix Λ after eliminating scrambling effect 1R 、Λ 1G 、Λ 1B Respectively reconstructing to obtain the sequences Lambda of canceling scrambling effect 2R 、Λ 2G 、Λ 2B Comprises the following steps:
and 5: de-scrambling effect sequence Λ at the R, G and B levels 2R 、Λ 2G 、Λ 2B Comprises the following steps:
wherein ,Λ2R (l)、Λ 2G (l)、Λ 2B (l) Respectively represent the sequence Λ 2R 、Λ 2G 、Λ 2B The l element of (1);
and 6: and reconstructing the sequence without the scrambling effect back to the matrix, and splicing the sequence as the information of R, G, B three channels to obtain a decrypted image.
Compared with the prior art, the invention has the following beneficial effects: designing DNA sequence code of data DNA chain and several reaction modules for generating DNA circuit and constructing DNA chain displacement reaction based on DNA fulcrumThe chaotic system is used for generating a chaotic sequence and realizing the image encryption of the DNA circuit; the generated chaotic sequence pair is utilized to not only implement the scrambling of the pixel level but also add the scrambling of the R, G, B component level, and the dual scrambling can enhance the scrambling effect; the invention obtains the chaotic sequence by deforming and splicing the detection result obtained in the effective detection time, and applies the chaotic sequence to the image scrambling and diffusing process to realize the image encryption algorithm, wherein the image scrambling is implemented on two layers of R, G, B components and pixels of the image, and the security and the attack resistance of the image encryption can be effectively ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow diagram of the present invention;
FIG. 2 is a reaction schematic of catalytic reaction module I of the present invention;
FIG. 3 is a reaction schematic of catalytic reaction module II of the present invention;
FIG. 4 is a reaction scheme of an annihilation reaction module of the invention;
FIG. 5 is a reaction scheme of the degradation reaction module I of the present invention;
FIG. 6 is a reaction scheme of the degradation reaction module II of the present invention;
FIG. 7 is a reaction schematic of a conditioning reaction module of the present invention;
FIG. 8 is a schematic diagram of the DNA coding design in catalytic reaction module I of the present invention;
FIG. 9 is a schematic diagram of a DNA coding design in catalytic reaction module II of the present invention;
FIG. 10 is a schematic diagram of DNA coding design in other reaction modules of the present invention;
FIG. 11 is a diagram illustrating the encryption effect of the Lena color plaintext image according to the present invention, wherein (a) is the original image and (b) is the encrypted image.
Fig. 12 is a sector histogram of the pixel distribution of the present invention, in which (a) is a plaintext image and (b) is a ciphertext image.
FIG. 13 is a comparison graph of the correlation between adjacent pixels of a plaintext image and a ciphertext image, where (a) is a red component of the plaintext image, (b) is a red component of the ciphertext image, (c) is a green component of the plaintext image, (d) is a green component of the ciphertext image, (e) is a blue component of the plaintext image, and (f) is a blue component of the ciphertext image.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art based on the embodiments of the present invention without inventive step, are within the scope of the present invention.
The invention constructs the DNA-based support point mediated strand displacement reactionA chaotic system with a DNA analog circuit as a pseudo-random number generator comprising a plurality of reaction modules, wherein a fluorophore is designed at an end of a signal DNA strand, and the emission intensity of the fluorophore is measuredSo that the dynamic change of the DNA circuit signal becomes visible and the concentration of the signal DNA chain is convenient to detect. As a large amount of leakage reaction exists in the biochemical circuit and a large amount of DNA chains are continuously degraded, the dynamic characteristics of the DNA circuit are continuously degraded, so that the concentration detection of the signal DNA chains needs to be completed within a limited time, and the detected data is spliced to meet the requirement of the chaotic sequence. At present, the DNA chain concentration detection precision is limited, the sensitivity requirement of a general chaotic circuit on initial conditions is difficult to realize, the problem is overcome through the design of a sub-secret key, and the secret key space is effectively expanded.
Fig. 1 shows a color image encryption method for visualized DNA pivot mediated strand displacement reaction, which is specifically implemented as follows:
the method comprises the following steps: construction of DNA-directed strand displacement reaction mediated by DNA pivotThe chaos system, DNA fulcrum mediated strand displacement reaction, is that the footing point is used to provide the fulcrum for the reaction between the invading DNA strand and the substrate DNA strand, through the free energy difference of DNA molecule hybridization, one single strand sequence is used to replace the other single strand from the double helix structure of the hybridized DNA for the subsequent reaction, has accurate sequence orthogonality, wherein the reaction rate can be adjusted by the length of the footing point. Application of DNA pivot mediated strand displacement reaction toModel-derived chaotic system can use its pairAnd carrying out DNA compiling on the model to realize a DNA circuit.
wherein X, Y and Z are signal reaction participants, k α α =1, …,7 is the reaction rate, Φ represents a useless substance.
According to the characteristics of the idealized chemical reaction network, the differential equation of the idealized chemical reaction network is as follows:
wherein ,representing the differential of variables X, Y and Z, respectively. The differential equation is used to illustrate the rate of change of chemicals X, Y and Z.
Step 2: and (3) DNA compiling of the idealized chemical reaction network, wherein each part in the chemical reaction network can be compiled into a corresponding DNA reaction module, and the specific compiling process is as follows:
(I) As shown in figure 2 of the drawings, in which,andbelonging to catalytic reaction module I, it can be compiled as the following DNA strand displacement reaction:
wherein ,Xi Is a signal DNA strand, i is a positive integer, A i ,P i ,N i And C i Is an auxiliary DNA strand, and the initial concentration of the auxiliary DNA strand is C m (ii) a Reaction Rate q i and ki Satisfy q i ≤q m ,k i =q i C m ,q m Indicating the maximum reaction rate. Design of input Signal DNA chain X i The DNA single strand structure of<x3^x2 x1^>,A i ,P i ,N i And C i The complex chain structures of the DNA are respectively as follows: { x3^ X }: [ x2 x1^ s]::<s1 s2^x1^k2^>、{x1^*}:[s1 s2^]<t6 x2 x1^k2^>:<s1 s2^t6 x2>[x1^k2^]、[x2 x1^]:{k2^*}::<k3^t1^>And<x3^>::[x2 x1^]{ k3^ t1^ wherein }, wherein,<>represents an upper chain structural portion of a DNA chain, [ 2 ]]Means for linking two double-stranded domains, { } means for labeling the upper strand domain, and ^ means for labeling the lower strand domain.
waste denotes the useless DNA strand, T i 、Ta i 、Pa i Indicates the DNA strand that should be added before the reaction. As shown in FIG. 2, the structure of each signal chain is added with a fluorophore and a fire extinguishing group, and the detection of the DNA strand concentration is facilitated by using different colors of the fluorophore as a label. Wherein x1, x2, x3, x, s1, s2, t6, k2, k3, and t1 each represent a different DNA base sequence.
(II) as shown in FIG. 3,belonging to catalytic reaction module II, it can be compiled as the following DNA strand displacement reaction:
wherein ,Yi As a signal DNA strand, B i ,Am i ,E i ,Ea i ,Eb i And Fa i Is an auxiliary DNA strand, and the initial concentration of the auxiliary DNA strand is C m (ii) a Reaction rate q i ,q′ i and ki Satisfy q i ,q′ i ≤q m ,k i =q i . Designing input signal Y i The DNA single-stranded structures of (A) are respectively<y1^y2 y3^>,B i ,E i ,Ea i And Fa i The complex chain structures of the DNA are respectively as follows: { x3^ x } [ x2 x1^ y } ]]:[y2 y3^]::<b2 b3^r1 r2^>、{y3^*}:<r1 r2^b1 y2>[b2 b3^]:[r1 r2^]::<b1 y2 b2 b3^>、[x2 x1^]:{k2^*}::<k3^t1^>And<x3^>::[x2 x1^]{ k3^ t1^ and { c1^ c2^ are }:<y1^>[y2 y3^]。X i 、Ma i 、Fa i each represents a DNA strand to be added before the reaction starts. Wherein y1, y2, y3, b1, b2, b3, r1, r2, c1 and c2 each represent a different DNA base sequence. As shown in FIG. 3, the structure of each signal chain is added with a fluorophore and a fire extinguishing group, and the detection of the DNA chain concentration is facilitated by using different colors of the fluorophores as labels.
(III) As shown in FIG. 4,belonging to an annihilation reaction module, it can be compiled as the following DNA strand displacement reaction:
wherein ,Fbi And Fc i Is an auxiliary DNA strand, and the initial concentration of the auxiliary DNA strand is C m (ii) a Reaction rate q i and ki Satisfy q i ≤q m ,k i =q i I =5. Designed helper DNA complex strand Fb i The double-stranded structure of the DNA is { x3^ x }: x2 x1^ y]:[y2y3^]。Ad i Indicates the DNA strand that should be added before the reaction. Wherein z1, z2 and z3 each represent a different DNA base sequence. As shown in FIG. 4, the structure of each signal chain is added with a fluorophore and a fire extinguishing group, and the detection of the DNA chain concentration is facilitated by using different colors of the fluorophore as markers.
(IV) as shown in figure 5,andbelonging to a degradation reaction module I, it can be compiled into the following DNA strand displacement reaction:
wherein ,Gi ,Ac i And Tp i Is an auxiliary DNA strand, and the initial concentration of the auxiliary DNA strand is C m (ii) a Reaction rate q i and ki Satisfy q i ≤q m ,k i =q i . Designed helper DNA Complex strand G i And Tp i The double-stranded structure of the DNA is { x3^ x }: x2 x1^ x3^ x]:[x2 x1^]::<c2^c3^>And [ x3^ x2 x1^ x]{c2^*c3^*}。
wherein ,Dai Indicates the product of the DNA reaction. As shown in FIG. 5, the structure of each signal chain adds a fluorophore and a fire extinguishing group, the detection of the concentration of the DNA chain is facilitated by using different colors of the fluorophores as labels, and c3 is a fragment or a region of the DNA chain.
(V) as shown in figure 6,belongs to a degradation reaction module II, which can be compiled into the following DNA strand displacement reaction:
wherein ,Kai Is an auxiliary DNA strand, and the initial concentration of the auxiliary DNA strand is C m . Reaction rate q i and ki Satisfy q i ≤q m ,k i =q i C m . Designed auxiliary DNA complex chain Ka i The DNA double-stranded structure of (a) is { y1^ x }: [ y2 y3^ 3]. As shown in FIG. 6, the structure of each signal DNA strand is added with a fluorophore and a fire extinguishing group, and the detection of the DNA strand concentration is facilitated by using different colors of the fluorophores as markers.
(VI) As shown in FIG. 7, the DNA strand displacement reaction (7) belongs to the regulatory reaction module for removing the buffer effect:
wherein ,Vai and Wai Is an auxiliary DNA strand, and the initial concentration of the auxiliary DNA strand is C m 。ω i Products were generated for the DNA. Design of helper DNA Complex chain Va i The DNA double-chain structure is [ h1^ y2]:{y3^*}。qx i 、qy i Respectively representing forward and backward reaction rates. As shown in FIG. 7, the structure of each signal DNA strand is added with a fluorophore and a fire extinguishing group, and the detection of the DNA strand concentration is facilitated by using different colors of the fluorophores as markers.
DNA codes are shown in FIGS. 8-10, in which the materials used in biochemical reactions are shown, red, blue and yellow fluorophores are luminescent materials with different colors, the quenching mass can absorb fluorescence emitted by the fluorophores, and when the fluorophores are far away from the quenching mass, the fluorescence is not absorbed, and the luminescence intensity can be detected as a marker; when the fluorophore is near the quenching bolus, fluorescence is absorbed and no luminescence intensity is detected.
Step two, generating a secret key: assuming that a color plain text image P has a size of M × N, it is composed of R, G, B components, which are respectively composed of a color component matrix P R 、P G and PB The three portions are all M × N in size, where the pixel values range from 0 to 255. Converting R, G, B channel matrix of color plaintext image P into sequence P 1R 、P 1G and P1B And the sub-keys are obtained by ascending order arrangement, and the specific implementation is as follows:
step 1: the color component matrix P R 、P G and PB The reconstruction into the sequence is as follows:
where reshape (, mxn, 1) represents the reconstruction function, the matrix is transformed into a sequence of 1 row mxn columns, and the sequenceAnd
And 2, step: will sequence P 1R 、P 1G and P1B Pixel value in (1) is as commonFormula (9) is arranged:
wherein sort (, i.e., the sequence of numbers is arranged in the order from small to large; whereinAndare respectively a sequence P 1R 、P 1G and P1B A new sequence after the ascending order arrangement,andis a new sequence h r 、h g and hb The index value of (c).
And step 3: key = sum is defined as a key of an encryption algorithm r +sum g +sum b, wherein sumr 、sum g and sumb This can be obtained from equation (10):
obtaining K sub-keys by using the key:
d k =mod(key,a k ),(k=1≤k≤K) (11)
wherein ,sumr 、sum g and sumb The summation of pixel values representing R, G, B components, respectively, mod represents a function for remainder, key is the dividend, a k Is a divisor. a is a k =k+0.1,K=4,5,…,∞。
Step three, generating a chaotic sequence: since the DNA strand concentration detection technique is limited, the accuracy of DNA strand concentration detection is set to 0.0001nM in the present invention. And the concentration of signal DNA strands X, Y and Z is every T 0 Time of secondAnd detecting once. Since the detection of the signal DNA strand needs to be completed within the effective time, the effective time is set in the present inventionSecond, therefore, the number of concentration detections is necessarily limited, and the detected number of signal DNA strands X, Y and Z needs to be spliced to meet the requirement of the chaotic sequence. When the DNA reaction formally starts s X T 0 After second, the first s detection data groups are discarded to ensure the pseudo-randomness of the detection data, and the pseudo-randomness is ensured every T 0 The concentration of the signal DNA chains X, Y and Z is detected once in seconds, and the concentration detection is neededSecond, three sets of data were obtained from the signal DNA strands X, Y and ZAndthen each set of data contains 1+r 2 For data, the total detection time T can be estimated as T = (1 + s + r) 2 )×T 0 Wherein the number of splices isr 2 =(M×N-r 1 )/ω,r 1 = mod (M × N, ω), s denotes the first s detection data groups that need to be discarded to ensure the pseudo-randomness of the detection data. s is the number of set test data to discard. T is 0 Denotes the detection time interval, r 2 Represents an intermediate variable, r 1 Is also an intermediate variable. Given the splicing times omega, the intermediate variable r can be calculated 1 Calculating an intermediate variable r 1 The intermediate variable r can be calculated 2 Calculating an intermediate variable r 2 The total detection time can be estimated finally.
Step 1: to giveThe chaotic system gives an initial value, the generated three groups of data are spliced, three chaotic sequences are obtained according to the sub key, and the three chaotic sequences are obtained according to the sub keyKey pair according to equation (12)Initial values of signal DNA chains X, Y and Z of the chaotic system are given as follows:
wherein ,[X]0 、[Y] 0 、[Z] 0 Initial values for DNA signal chains X, Y and Z, respectively, d 1 (nM)、d 2 (nM)、d 3 (nM) is given in equation (11) as the sub-key d k The first three items of (1) were assigned to initial concentrations of signal DNA strand X, Y, Z, respectively, in nM, the stoichiometric unit of nanomolar.
Step 2: the signal DNA strands X, Y and Z are spliced according to equations (13) and (14) to yield data sets X ', Y ' and Z ':
wherein ,index values representing the sequence, sumI' =1,2, …, ω, j =1,2, …, r, representing the absolute value and the rounded-down sign, respectively 2 Omega is the number of splices, an
And 3, step 3: the chaotic sequence is obtained from equation (15):
Step four: color image scrambling: sequence P corresponding to R, G, B channel matrix of color plaintext image P by using three groups of data 1R 、P 1G and P1B Color component scrambling is carried out, and the three chaotic sequences are utilized to carry out scrambling on elements in the matrix after the color component scrambling respectively to obtain a scrambling matrixAnd
step 1: for sequence P at the R, G, B component level according to equations (16) - (18) 1R 、P 1G and P1B Scrambling the medium elements:
wherein the R, G, B component obtained after scrambling is formed by the sequenceAndand (4) showing. The scrambling of the pixel layer is realized, and the position of the original pixel is changed.
and 3, step 3: scrambling is performed at the pixel level according to equation (20):
wherein ,s1 and s2 Is a positive integer and is a non-zero integer,andrespectively represent matricesAndan element of (1); scrambling matrix Γ = [ Γ = [ Γ ] r ,Γ g ,Γ b] and Ψ=[Ψr ,Ψ g ,Ψ b ]The definition is as follows:
where m and n represent the rows and columns, respectively, the benefit is enhanced diffusion. The scrambled matrix isAndare respectivelyAndrow m and column n. Step five: image diffusion: three chaotic sequences U obtained by formula (15) r、Ug and Ub Separately opposite scrambling matricesAndand diffusing to obtain an image consisting of the matrix as an encrypted image.
Step 2: by a chaotic sequence U r 、U g and Ub Obtaining the diffusion sequence V according to the formulas (22) to (24) r 、V g and Vb :
wherein ,X′l 、Y′ l 、Z′ l The I-th elements of data sets X ', Y ' and Z ' are indicated, respectively, and 1nM, 2nM indicate the concentration of DNA strand;
and step 3: using diffusion sequences V r 、V g and Vb Separate de-diffusion sequenceAndobtaining an encrypted image E = { E = { [ E ] r ,E g ,E b And the calculation method comprises the following steps:
wherein ,is an exclusive or operation.Respectively representing the values of the l-th element of the corresponding sequence, obtaining a matrix E by sequence reconstruction r ,E g ,E b Then the matrix E is formed r ,E g ,E b The three channels R, G, B are spliced respectively to obtain the ciphertext image.
The image decryption method corresponding to the invention comprises the following steps:
step 1: using diffusion sequences V r 、V g and Vb The diffusion effect is removed according to equations (27) and (28):
wherein ,the components of the three channels of the decrypted image R, G, B are respectively represented, and because the decryption algorithm is the inverse process of the encryption algorithm, the processing is verified through experiments, and the ciphertext image can be decrypted to obtain the plaintext image.
And 2, step: for sequence D r 、D g and Db The reconstruction is performed according to equation (29):
wherein ,ΛR 、Λ G 、Λ B Respectively represent D r 、D g and Db The resulting matrix is reconstructed.
And step 3: at the pixel level, the scrambling effect is eliminated from the last row (column) to the first row (column) according to equation (30):
wherein M '= M, M-1,M-2, …,1,n' = N, N-1,N-2, …,1.
And 4, step 4: to matrix Λ according to equation (31) R 、Λ G and ΛB And (3) reconstruction:
and 5: the scrambling effect is canceled at the R, G and B level according to equations (32) - (34), and a decrypted image is obtained.
And 6: will be Λ R 、Λ G and ΛB Reconstructing the shape of M multiplied by N, and splicing the shape as the information of R, G, B three channels to obtain a decrypted image.
The following provides a security analysis of the encryption method of the present invention as follows: when in useThe DNA compilation of the chaotic system takes values as shown in Table 1, s =500, s 1 =800、s 2 =800、T 0 Fig. 11 (a) and 11 (b) are respectively a plaintext image and an encrypted image of Lena when =15 seconds, and fig. 12 (a) and 12 (b) are respectively sector histograms of pixel value distributions of the plaintext image and the ciphertext image, and it can be seen from fig. 12 that the histogram of the plaintext image presents a non-uniform characteristic, and the histogram of the ciphertext image after encryption presents a circular and uniform distribution situation, which illustrates that the encryption method of the present invention can make the pixel value distribution of the ciphertext image have good balance, can completely hide useful information of the plaintext image, and can effectively prevent statistical attack of pixel values of an attacker.
Fig. 13 (a), 13 (c) and 13 (e) show the correlation between adjacent pixels in the horizontal direction, vertical direction and diagonal direction of R, G, B component of Lena plaintext image, respectively, and fig. 13 (b), 13 (d) and 13 (f) show the correlation between adjacent pixels in the horizontal direction, vertical direction and diagonal direction of R, G, B component of ciphertext image, respectively. As can be seen from fig. 13, the pairs of adjacent pixel points of the plaintext image are concentrated on the diagonal lines, and the adjacent pixel points of the ciphertext image are uniformly distributed in the rectangular region, which indicates that the plaintext image has strong correlation in each direction, while the ciphertext image does not have correlation in each direction.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (10)
1. A color image encryption method for visualized DNA pivot mediated strand displacement reaction is characterized by comprising the following steps:
the method comprises the following steps: construction of DNA-directed strand displacement reaction mediated by DNA pivotA chaotic system;
step two, key generation: respectively converting R, G, B channel matrixes of the color plaintext image P into sequences and arranging the sequences in an ascending order to obtain sub-keys;
step three, generating a chaotic sequence: using the sub-key to giveThe chaotic system gives an initial value toSplicing three data groups generated by the chaotic system, and obtaining three chaotic sequences according to the sub-secret key;
step four: color image scrambling: respectively scrambling the color components of the sequences corresponding to the R, G, B channel matrix of the color plaintext image P by using the three data groups, and scrambling the elements in the matrix after the color components are scrambled by using the three chaotic sequences to obtain a scrambling matrixAnd
2. The method for encrypting the color image for visualizing the DNA pivot mediated strand displacement reaction according to claim 1, wherein the first step is a stepThe ideal chemical reaction network of the chaotic system is as follows:
wherein X, Y and Z are signal reaction participants, k α α =1, …,7 is the reaction rate, Φ represents a useless material;
the differential equation for an idealized chemical reaction network is:
3. The color image encryption method for visualized DNA pivot mediated strand displacement reaction according to claim 2, wherein the DNA compiling method of the idealized chemical reaction network is as follows:
(I)andbelongs to a catalytic reaction module I, and is compiled into a DNA strand displacement reaction:
wherein ,Xi Is a signal DNA strand, i is a positive integer, A i ,P i ,N i And C i Is an auxiliary DNA strand, and the initial concentration of the auxiliary DNA strand is C m (ii) a Reaction rate q i and ki Satisfy q i ≤q m ,k i =q i C m ,q m Represents the maximum reaction rate; design of Signal DNA chain X i The DNA single strand structure of<x3^ x2 x1^>Helper DNA strand A i ,P i ,N i And C i The complex chain structures of the DNA are respectively as follows: { x3^ x }: x2 x1^ x }, and]::<s1 s2^ x1^ k2^>、{x1^*}:[s1 s2^]<t6 x2 x1^ k2^>:<s1 s2^ t6 x2>[x1^ k2^]、[x2 x1^]:{k2^*}::<k3^ t1^>and<x3^>::[x2 x1^]{ k3^ t1^ where,<>represents an upper chain structural portion of a DNA chain, [ 2 ]]Means double-stranded structural parts of the DNA strands which have been complementarily paired, for joining the two double-stranded structural domains, and { } means DNA strandsUsed to label the uplink domain, used to label the downlink domain; waste denotes the useless DNA strand, T i 、Ta i 、Pa i Respectively representing products generated by DNA reaction;
(II)belongs to a catalytic reaction module II, and is compiled into a DNA strand displacement reaction as follows:
wherein ,Xi 、Y i As a signal DNA strand, B i ,Am i ,E i ,Ea i ,Eb i And Fa i Is an auxiliary DNA strand; reaction rate q i ,q′ i and ki Satisfy q i ,q′ i ≤q m ,k i =q i (ii) a Designing an input signal Y i The DNA single strand structure of<y1^ y2 y3^>Helper DNA strand B i ,E i ,Ea i And Fa i The complex chain structures of the DNA are respectively as follows: { x3^ x }: x2 x1^ y]:[y2 y3^]::<b2 b3^ r1 r2^>、{y3^*}:<r1 r2^ b1 y2>[b2 b3^]:[r1 r2^]::<b1 y2 b2 b3^>、[x2 x1^]:{k2^*}::<k3^ t1^>And<x3^>::[x2 x1^]{ k3^ t1^ and { c1^ c2^ are }:<y1^>[y2 y3^];Ma i products formed by DNA reactions, fa i Indicates the DNA strand to be added before the reaction starts;
(III)belongs to an annihilation reaction module, and is compiled into a DNA strand displacement reaction:
wherein ,Fbi And Fc i Is an auxiliary DNA strand; design aidHelper DNA chain Fb i The double-stranded structure of the DNA is { x3^ x }: x2 x1^ y]:[y2 y3^];Ad i Represents a product produced by a DNA reaction;
(IV)andbelongs to a degradation reaction module I, and is compiled into a DNA strand displacement reaction:
wherein ,Gi ,Ac i And Tp i Is an auxiliary DNA strand; designed helper DNA strand G i And Tp i The DNA double-chain structure is { x3^ x }: x2 x1^ x3^ x]:[x2 x1^]::<c2^ c3^>And [ x3^ x2 x1^ x]{c2^* c3^*};Da i Represents a product produced by a DNA reaction;
(V)belongs to a degradation reaction module II, and is compiled into a DNA strand displacement reaction:
wherein ,Kai Is an auxiliary DNA strand; designed auxiliary DNA chain Ka i The DNA double-stranded structure of (a) is { y1^ x }: [ y2 y3^ 3];
(VI) DNA Strand Displacement reactionBelongs to a regulation reaction module and is used for removing the buffer effect:
wherein ,Vai and Wai For the auxiliary DNA strand, omega i Generating a product for the DNA; design of auxiliary DNA strands Va i DNA of (2)The chain structure is [ h1^ y2]:{y3^*},qx i 、qy i Respectively representing forward reaction rate and backward reaction rate;
wherein x1, x2, x3, y1, y2, y3, z1, z2, z3, b1, b2, b3, c1, c2, c3, r1, r2, s1, s2, t6, k2, k3, and t1 each represents a different DNA base sequence;
in the DNA strand displacement reaction, a signal DNA strand X i Signal DNA strand Y i Signal DNA strand Z i Auxiliary DNA strand C i 、Fa i 、Tp i Fluorophores with different colors and signal DNA chain X i Signal DNA strand Z i Auxiliary DNA strand A i 、C i 、Fa i 、B i 、Fb i 、G i 、Ka i 、Va i 、Tp i The quenching group is arranged on the fluorescent probe, the quenching group can absorb fluorescence emitted by the fluorophore, when the fluorophore is far away from the quenching group, the fluorescence is not absorbed, and the luminous intensity can be detected to be used as a marker; when the fluorophore is near the quenching bolus, fluorescence is absorbed and no luminescence intensity is detected.
4. The color image encryption method for visualized DNA pivot mediated strand displacement reaction according to any one of claims 1 to 3, wherein the method for obtaining the sub-key is as follows:
step 21: the R, G, B channel matrix P of the color plaintext image P R 、P G and PB Are respectively reconstructed into sequences P 1R 、P 1G and P1B The method comprises the following steps:
step 22: will sequence P 1R 、P 1G and P1B The pixel values in (1) are arranged:
wherein sort (#) represents an ascending sort function, whereinAndare respectively a sequence P 1R 、P 1G and P1B A new sequence after the ascending sequence arrangement,andare respectively a new sequence h r 、h g and hb An index value of (d);
step 23: then the key is key = sum r +sum g +sum b Wherein, sum r 、sum g and sumb The calculation method comprises the following steps:
obtaining K sub-keys by using the key:
d k =mod(key,a k ),k=1≤k≤K;
wherein ,sumr 、sum g and sumb The sum of pixel values representing R, G, B components, respectively, mod represents a function for the remainder, a k =k+0.1,K=4,5,…,∞。
5. The color image encryption method for visualized DNA pivot mediated strand displacement reaction according to claim 4, wherein the chaotic sequence is generated by a method comprising the following steps:
step 31: according to the sub-key pairInitial values of signal DNA chains X, Y and Z of the chaotic system are given as follows:
wherein ,[X]0 、[Y] 0 、[Z] 0 Initial values for DNA signal chains X, Y and Z, respectively, d 1 (nM)、d 2 (nM)、d 3 (nM) is the sub-key d k nM is nanomolar;
step 32: splicing the signal DNA chains X, Y and Z to obtain data groups X ', Y ' and Z ', wherein the splicing method comprises the following steps:
wherein ,index values, | and | representing sequencesI' =1,2, …, ω, j =1,2, …, r, representing the absolute value and the rounded-down sign, respectively 2 Omega is the number of splices, an Represents rounding up; s is the number of test data sets to discard, r 1 、r 2 Is an intermediate variable;
step 33: obtaining chaotic sequences U according to the data groups X ', Y ' and Z ' respectively r 、U g 、U b :
6. the method for encrypting the color image for visualizing the DNA pivot mediated strand displacement reaction according to claim 5, wherein the method is characterized in thatThree groups of data groups obtained by signal DNA chains X, Y and Z of chaotic systemAndeach set of data of (1) contains 1+r 2 Data when DNA strand displacement reaction is formalStart sxT 0 After second, the first s detection data sets are discarded and every T 0 The concentration of the signal DNA chains X, Y and Z is detected once in seconds, and the total detection time is T = (1 + s + r) 2 )×T 0 Wherein the splicing times areIntermediate variable r 2 =(M×N-r 1 ) Omega, intermediate variable r 1 =mod(M×N,ω)。
7. The color image encryption method for the visualized DNA pivot-mediated strand displacement reaction according to claim 5 or 6, wherein in the fourth step, the method for respectively scrambling the color components of the sequence corresponding to the R, G, B channel matrix of the color plaintext image P by using three data sets comprises: respectively aligning the sequence P according to the concentration of the signal chain on the R, G, B component level 1R 、P 1G and P1B Scrambling the medium elements:
8. The method for encrypting the color image oriented to the visualized DNA pivot-mediated strand displacement reaction according to claim 7, wherein the scrambling matrix is obtainedAndthe method comprises the following steps:
wherein ,s1 and s2 Is a positive integer and is a non-zero integer,andrespectively represent matricesAndan element of (1);
scrambling matrix Γ = [ Γ = [ Γ ] r ,Γ g ,Γ b] and Ψ=[Ψr ,Ψ g ,Ψ b ]Comprises the following steps:
wherein m and n respectively represent the row and the column; u shape r (m)、U g (m)、U b (m)、U r (n)、U g (n)、U b (n) respectively represent chaotic sequences U r 、U g 、U b The mth and nth elements of (a);
9. The color image encryption method for visualized DNA pivot mediated strand displacement reaction according to claim 8, wherein the image diffusion method in the fifth step is:
step 52: by a chaotic sequence U r 、U g and Ub Obtaining a diffusion sequence V r 、V g and Vb The method comprises the following steps:
wherein ,Vl r 、V l g 、V l b Respectively represent diffusion sequences V r 、V g and Vb 1nM, 2nM represent the concentration of DNA strands;
step 53: using diffusion sequences V r 、V g and Vb Separate diffusion sequencesAndobtaining an encrypted image, wherein the calculation method comprises the following steps:
wherein ,in order to perform the exclusive-or operation,V l r 、V l g 、V l b 、respectively represent chaotic sequences U r 、U g 、U b Diffusion sequence V r 、V g 、V b And post-diffusion sequence E 1r 、E 1g 、E 1b The value of the ith element of (c);
post-diffusion sequence E 1r 、E 1g 、E 1b Respectively reconstructing to obtain a matrix E r ,E g ,E b Then the matrix E is formed r ,E g ,E b And splicing the three channels R, G, B to obtain a ciphertext image.
10. The color image encryption method for visualized DNA pivot mediated strand displacement reaction according to claim 9, wherein the corresponding image decryption method is as follows:
step 1: using diffusion sequences V r 、V g and Vb Removing the diffusion effect:
wherein ,r, G, B sequences corresponding to the three channel components respectively representing the decrypted image;
step 2: for sequence D r 、D g and Db And (3) carrying out reconstruction:
wherein ,ΛR 、Λ G 、Λ B Respectively represent D r 、D g and Db Reconstructing to obtain a matrix;
and step 3: at the pixel level, the scrambling effect is eliminated from the last row to the first row, and the last column to the first column:
wherein M '= M, M-1,M-2, …,1,n' = N, N-1,N-2, …,1;
and 4, step 4: matrix Lambda after eliminating scrambling effect 1R 、Λ 1G 、Λ 1B Respectively reconstructing to obtain the sequences Lambda of canceling scrambling effect 2R 、Λ 2G 、Λ 2B Comprises the following steps:
and 5: de-scrambling effect sequence Λ at the R, G and B levels 2R 、Λ 2G 、Λ 2B Comprises the following steps:
wherein ,Λ2R (l)、Λ 2G (l)、Λ 2B (l) Respectively represent the sequence Λ 2R 、Λ 2G 、Λ 2B The l element of (1);
step 6: and reconstructing the sequence without the scrambling effect back to the matrix, and splicing the sequence as the information of R, G, B three channels to obtain a decrypted image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211435627.0A CN115834788B (en) | 2022-11-16 | 2022-11-16 | Color image encryption method for visualized DNA pivot point-mediated strand displacement reaction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211435627.0A CN115834788B (en) | 2022-11-16 | 2022-11-16 | Color image encryption method for visualized DNA pivot point-mediated strand displacement reaction |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115834788A true CN115834788A (en) | 2023-03-21 |
CN115834788B CN115834788B (en) | 2023-06-09 |
Family
ID=85528539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211435627.0A Active CN115834788B (en) | 2022-11-16 | 2022-11-16 | Color image encryption method for visualized DNA pivot point-mediated strand displacement reaction |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115834788B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117057405A (en) * | 2023-08-22 | 2023-11-14 | 燕山大学 | DNA molecular learning machine method based on novel excitation function |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6064738A (en) * | 1996-12-10 | 2000-05-16 | The Research Foundation Of State University Of New York | Method for encrypting and decrypting data using chaotic maps |
CN101706946A (en) * | 2009-11-26 | 2010-05-12 | 大连大学 | Digital image encryption method based on DNA sequence and multi-chaotic mapping |
CN101719908A (en) * | 2009-11-26 | 2010-06-02 | 大连大学 | Image encryption method based on chaos theory and DNA splice model |
CN103501224A (en) * | 2013-09-23 | 2014-01-08 | 长春理工大学 | Asymmetric image encryption and decryption method based on quantum cell neural network system |
CN104050617A (en) * | 2013-09-25 | 2014-09-17 | 上海理工大学 | Method for image encryption based on Liu chaotic system |
CN106296561A (en) * | 2016-08-05 | 2017-01-04 | 广东工业大学 | Image encryption method based on hyperchaotic system and device, decryption method and device |
CN106997606A (en) * | 2017-02-14 | 2017-08-01 | 陕西师范大学 | A kind of image encryption method based on hyperchaotic system Projective Synchronization |
CN114386574A (en) * | 2022-01-07 | 2022-04-22 | 大连理工大学 | Nonlinear neural network based on DNA fulcrum-mediated strand displacement reaction technology |
-
2022
- 2022-11-16 CN CN202211435627.0A patent/CN115834788B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6064738A (en) * | 1996-12-10 | 2000-05-16 | The Research Foundation Of State University Of New York | Method for encrypting and decrypting data using chaotic maps |
CN101706946A (en) * | 2009-11-26 | 2010-05-12 | 大连大学 | Digital image encryption method based on DNA sequence and multi-chaotic mapping |
CN101719908A (en) * | 2009-11-26 | 2010-06-02 | 大连大学 | Image encryption method based on chaos theory and DNA splice model |
CN103501224A (en) * | 2013-09-23 | 2014-01-08 | 长春理工大学 | Asymmetric image encryption and decryption method based on quantum cell neural network system |
CN104050617A (en) * | 2013-09-25 | 2014-09-17 | 上海理工大学 | Method for image encryption based on Liu chaotic system |
CN106296561A (en) * | 2016-08-05 | 2017-01-04 | 广东工业大学 | Image encryption method based on hyperchaotic system and device, decryption method and device |
CN106997606A (en) * | 2017-02-14 | 2017-08-01 | 陕西师范大学 | A kind of image encryption method based on hyperchaotic system Projective Synchronization |
CN114386574A (en) * | 2022-01-07 | 2022-04-22 | 大连理工大学 | Nonlinear neural network based on DNA fulcrum-mediated strand displacement reaction technology |
Non-Patent Citations (1)
Title |
---|
葛滨 等: "基于超混沌的快速图像加密算法", 系统工程与电子技术, vol. 38, no. 3, pages 700 - 705 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117057405A (en) * | 2023-08-22 | 2023-11-14 | 燕山大学 | DNA molecular learning machine method based on novel excitation function |
CN117057405B (en) * | 2023-08-22 | 2024-04-12 | 燕山大学 | DNA molecular learning machine method based on novel excitation function |
Also Published As
Publication number | Publication date |
---|---|
CN115834788B (en) | 2023-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Mahmud et al. | Evolutionary-based image encryption using RNA codons truth table | |
Zhou et al. | A new combination chaotic system and its application in a new Bit-level image encryption scheme | |
Xu et al. | A novel image cipher based on 3D bit matrix and latin cubes | |
Hua et al. | Design of image cipher using block-based scrambling and image filtering | |
US20200287704A1 (en) | Color Image Encryption Method Based on DNA Strand Displacement Analog Circuit | |
Wang et al. | An image encryption algorithm based on a hidden attractor chaos system and the Knuth–Durstenfeld algorithm | |
Wang et al. | A novel chaotic algorithm for image encryption utilizing one-time pad based on pixel level and DNA level | |
Samiullah et al. | An image encryption scheme based on DNA computing and multiple chaotic systems | |
Liao et al. | An efficient mixed inter-intra pixels substitution at 2bits-level for image encryption technique using DNA and chaos | |
Liu et al. | Color image encryption algorithm based on DNA coding and double chaos system | |
Zhang et al. | An image encryption scheme based on the MLNCML system using DNA sequences | |
Chen et al. | An efficient image encryption scheme using gray code based permutation approach | |
Patel et al. | Colour image encryption based on customized neural network and DNA encoding | |
Zhang et al. | A symmetric image encryption algorithm based on mixed linear–nonlinear coupled map lattice | |
Chen et al. | An image encryption scheme using nonlinear inter-pixel computing and swapping based permutation approach | |
Naim et al. | A novel satellite image encryption algorithm based on hyperchaotic systems and Josephus problem | |
Gehani et al. | DNA-based cryptography | |
Zhang et al. | Image encryption using DNA addition combining with chaotic maps | |
Abbasi et al. | Chaotic evolutionary-based image encryption using RNA codons and amino acid truth table | |
Alvarez et al. | A multisecret sharing scheme for color images based on cellular automata | |
Liu et al. | A novel data hiding method based on deoxyribonucleic acid coding | |
CN115834788A (en) | Color image encryption method for visualized DNA fulcrum-mediated strand displacement reaction | |
Chen et al. | A fast chaos-based symmetric image cryptosystem with an improved diffusion scheme | |
Abbasi et al. | Evolutionary-based image encryption using biomolecules and non-coupled map lattice | |
Gupta et al. | A new image encryption algorithm based on DNA approach |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |