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 PDF

Info

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
Application number
CN202211435627.0A
Other languages
Chinese (zh)
Other versions
CN115834788B (en
Inventor
邹成业
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anyang Normal University
Original Assignee
Anyang Normal University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Anyang Normal University filed Critical Anyang Normal University
Priority to CN202211435627.0A priority Critical patent/CN115834788B/en
Publication of CN115834788A publication Critical patent/CN115834788A/en
Application granted granted Critical
Publication of CN115834788B publication Critical patent/CN115834788B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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 colourRGBThe 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

Color image encryption method for visualized DNA fulcrum-mediated strand displacement reaction
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 fulcrum
Figure SMS_1
A 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 give
Figure SMS_2
The chaotic system gives an initial value to
Figure SMS_3
Splicing 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
Figure SMS_4
Step five: image diffusion: respectively aligning the three chaotic sequences to a scrambling matrix
Figure SMS_5
And diffusing to obtain an image consisting of the matrix as an encrypted image.
Preferably, in the first step
Figure SMS_6
The ideal chemical reaction network of the chaotic system is as follows:
Figure SMS_7
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:
Figure SMS_8
wherein ,
Figure SMS_9
representing the differential of variables X, Y and Z, respectively.
Preferably, the DNA compiling method of the idealized chemical reaction network is:
(I)
Figure SMS_10
and
Figure SMS_11
belongs to a catalytic reaction module I, and is compiled into a DNA strand displacement reaction:
Figure SMS_12
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)
Figure SMS_13
belongs to a catalytic reaction module II, and is compiled as a DNA strand displacement reaction:
Figure SMS_14
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)
Figure SMS_15
belongs to an annihilation reaction module, and is compiled into a DNA strand displacement reaction:
Figure SMS_16
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)
Figure SMS_17
and
Figure SMS_18
belongs to a degradation reaction module I, and is compiled into a DNA strand displacement reaction:
Figure SMS_19
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)
Figure SMS_20
belongs to a degradation reaction module II, and is compiled into a DNA strand displacement reaction:
Figure SMS_21
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 reaction
Figure SMS_22
Belongs 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:
Figure SMS_23
where reshape (,) represents the reconstruction function and the sequence
Figure SMS_24
Figure SMS_25
And
Figure SMS_26
are 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:
Figure SMS_27
wherein sort (#) represents an ascending sort function, wherein
Figure SMS_28
And
Figure SMS_29
are respectively a sequence P 1R 、P 1G and P1B A new sequence after the ascending order arrangement,
Figure SMS_30
and
Figure SMS_31
are 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:
Figure SMS_32
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 pair
Figure SMS_33
Initial values of signal DNA chains X, Y and Z of the chaotic system are given as follows:
Figure SMS_34
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:
Figure SMS_35
Figure SMS_36
wherein ,
Figure SMS_37
index values representing the sequence, sum
Figure SMS_38
I' =1,2, …, ω, j =1,2, …, r, representing the absolute value and the rounded-down sign, respectively 2 Omega is the number of splices, an
Figure SMS_39
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
Figure SMS_40
wherein ,
Figure SMS_41
preferably, the
Figure SMS_42
Three groups of data groups obtained by signal DNA chains X, Y and Z of chaotic system
Figure SMS_43
And
Figure SMS_44
each 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 are
Figure SMS_45
Intermediate 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:
Figure SMS_46
Figure SMS_47
Figure SMS_48
the R, G, B component obtained after scrambling is the sequence
Figure SMS_49
And
Figure SMS_50
and
Figure SMS_51
are 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.
Preferably, the obtaining a scrambling matrix
Figure SMS_52
And
Figure SMS_53
the method comprises the following steps:
will be sequenced
Figure SMS_54
And
Figure SMS_55
are respectively reconstructed into a matrix
Figure SMS_56
And
Figure SMS_57
Figure SMS_58
matrix of
Figure SMS_59
And
Figure SMS_60
scrambling is performed on a pixel level, respectively:
Figure SMS_61
wherein ,s1 and s2 Is a positive integer and is a non-zero integer,
Figure SMS_62
and
Figure SMS_63
respectively represent matrices
Figure SMS_64
And
Figure SMS_65
an element of (1);
scrambling matrix Γ = [ Γ = [ Γ ] rgb] and Ψ=[Ψrgb ]Comprises the following steps:
Figure SMS_66
Figure SMS_67
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);
the scrambled scrambling matrix is
Figure SMS_68
And
Figure SMS_69
are respectively scrambling matrices
Figure SMS_70
And
Figure SMS_71
row m and column n.
Preferably, the image diffusion method in the step five is as follows:
step 51: to the scrambling matrix
Figure SMS_72
And
Figure SMS_73
and (3) reconstruction:
Figure SMS_74
wherein ,
Figure SMS_75
and
Figure SMS_76
are respectively a matrix
Figure SMS_77
And
Figure SMS_78
a reconstructed sequence;
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:
Figure SMS_79
Figure SMS_80
Figure SMS_81
wherein ,
Figure SMS_82
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 sequences
Figure SMS_83
And
Figure SMS_84
obtaining an encrypted image, wherein the calculation method comprises the following steps:
Figure SMS_85
Figure SMS_86
wherein ,
Figure SMS_87
in order to perform the exclusive-or operation,
Figure SMS_88
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:
Figure SMS_89
Figure SMS_90
wherein ,
Figure SMS_91
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:
Figure SMS_92
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:
Figure SMS_93
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:
Figure SMS_94
and 5: de-scrambling effect sequence Λ at the R, G and B levels 2R 、Λ 2G 、Λ 2B Comprises the following steps:
Figure SMS_95
Figure SMS_96
Figure SMS_97
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 fulcrum
Figure SMS_98
The 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 reaction
Figure SMS_99
A 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 pivot
Figure SMS_100
The 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 to
Figure SMS_101
Model-derived chaotic system can use its pair
Figure SMS_102
And carrying out DNA compiling on the model to realize a DNA circuit.
Step 1:
Figure SMS_103
the idealized chemical reaction network of the system is designed to be:
Figure SMS_104
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:
Figure SMS_105
wherein ,
Figure SMS_106
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,
Figure SMS_107
and
Figure SMS_108
belonging to catalytic reaction module I, it can be compiled as the following DNA strand displacement reaction:
Figure SMS_109
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,
Figure SMS_110
belonging to catalytic reaction module II, it can be compiled as the following DNA strand displacement reaction:
Figure SMS_111
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,
Figure SMS_112
belonging to an annihilation reaction module, it can be compiled as the following DNA strand displacement reaction:
Figure SMS_113
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,
Figure SMS_114
and
Figure SMS_115
belonging to a degradation reaction module I, it can be compiled into the following DNA strand displacement reaction:
Figure SMS_116
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,
Figure SMS_117
belongs to a degradation reaction module II, which can be compiled into the following DNA strand displacement reaction:
Figure SMS_118
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:
Figure SMS_119
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:
Figure SMS_120
where reshape (, mxn, 1) represents the reconstruction function, the matrix is transformed into a sequence of 1 row mxn columns, and the sequence
Figure SMS_121
And
Figure SMS_122
Figure SMS_123
are respectively a sequence P 1R M × N pixel values.
And 2, step: will sequence P 1R 、P 1G and P1B Pixel value in (1) is as commonFormula (9) is arranged:
Figure SMS_124
wherein sort (, i.e., the sequence of numbers is arranged in the order from small to large; wherein
Figure SMS_125
And
Figure SMS_126
are respectively a sequence P 1R 、P 1G and P1B A new sequence after the ascending order arrangement,
Figure SMS_127
and
Figure SMS_128
is 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):
Figure SMS_129
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 invention
Figure SMS_130
Second, 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 needed
Figure SMS_131
Second, three sets of data were obtained from the signal DNA strands X, Y and Z
Figure SMS_132
And
Figure SMS_133
then 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 is
Figure SMS_134
r 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 give
Figure SMS_135
The 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)
Figure SMS_136
Initial values of signal DNA chains X, Y and Z of the chaotic system are given as follows:
Figure SMS_137
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 ':
Figure SMS_138
Figure SMS_139
wherein ,
Figure SMS_140
index values representing the sequence, sum
Figure SMS_141
I' =1,2, …, ω, j =1,2, …, r, representing the absolute value and the rounded-down sign, respectively 2 Omega is the number of splices, an
Figure SMS_142
And 3, step 3: the chaotic sequence is obtained from equation (15):
Figure SMS_143
wherein ,
Figure SMS_144
obtaining the chaotic sequence by using d can effectively increase the key space.
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 matrix
Figure SMS_145
And
Figure SMS_146
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:
Figure SMS_147
Figure SMS_148
Figure SMS_149
wherein the R, G, B component obtained after scrambling is formed by the sequence
Figure SMS_150
And
Figure SMS_151
and (4) showing. The scrambling of the pixel layer is realized, and the position of the original pixel is changed.
Step 2: to the sequence
Figure SMS_152
And
Figure SMS_153
reconstructed as a matrix according to equation (19):
Figure SMS_154
and 3, step 3: scrambling is performed at the pixel level according to equation (20):
Figure SMS_155
wherein ,s1 and s2 Is a positive integer and is a non-zero integer,
Figure SMS_156
and
Figure SMS_157
respectively represent matrices
Figure SMS_158
And
Figure SMS_159
an element of (1); scrambling matrix Γ = [ Γ = [ Γ ] rgb] and Ψ=[Ψrgb ]The definition is as follows:
Figure SMS_160
Figure SMS_161
where m and n represent the rows and columns, respectively, the benefit is enhanced diffusion. The scrambled matrix is
Figure SMS_162
And
Figure SMS_163
are respectively
Figure SMS_164
And
Figure SMS_165
row m and column n. Step five: image diffusion: three chaotic sequences U obtained by formula (15) r、Ug and Ub Separately opposite scrambling matrices
Figure SMS_166
And
Figure SMS_167
and diffusing to obtain an image consisting of the matrix as an encrypted image.
Step 1: matrix pair according to equation (21)
Figure SMS_168
And
Figure SMS_169
and (3) reconstruction:
Figure SMS_170
wherein ,
Figure SMS_171
and
Figure SMS_172
is a matrix
Figure SMS_173
And
Figure SMS_174
the reconstructed sequence.
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
Figure SMS_175
Figure SMS_176
Figure SMS_177
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 sequence
Figure SMS_178
And
Figure SMS_179
obtaining an encrypted image E = { E = { [ E ] r ,E g ,E b And the calculation method comprises the following steps:
Figure SMS_180
Figure SMS_181
wherein ,
Figure SMS_182
is an exclusive or operation.
Figure SMS_183
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):
Figure SMS_184
Figure SMS_185
wherein ,
Figure SMS_186
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):
Figure SMS_187
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):
Figure SMS_188
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:
Figure SMS_189
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.
Figure SMS_190
Figure SMS_191
Figure SMS_192
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 use
Figure SMS_193
The 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.
TABLE 1
Figure SMS_194
DNA compiling parameter value of chaotic system
Figure SMS_195
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 pivot
Figure FDA0003946577560000019
A 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 give
Figure FDA00039465775600000110
The chaotic system gives an initial value to
Figure FDA00039465775600000111
Splicing 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 matrix
Figure FDA0003946577560000011
And
Figure FDA0003946577560000012
step five: image diffusion: respectively aligning the three chaotic sequences to a scrambling matrix
Figure FDA0003946577560000013
And
Figure FDA0003946577560000014
and diffusing to obtain an image consisting of the matrix as an encrypted image.
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 step
Figure FDA0003946577560000015
The ideal chemical reaction network of the chaotic system is as follows:
Figure FDA0003946577560000016
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:
Figure FDA0003946577560000017
wherein ,
Figure FDA0003946577560000018
representing the differential of variables X, Y and Z, respectively.
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)
Figure FDA0003946577560000021
and
Figure FDA0003946577560000022
belongs to a catalytic reaction module I, and is compiled into a DNA strand displacement reaction:
Figure FDA0003946577560000023
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)
Figure FDA0003946577560000024
belongs to a catalytic reaction module II, and is compiled into a DNA strand displacement reaction as follows:
Figure FDA0003946577560000025
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)
Figure FDA0003946577560000026
belongs to an annihilation reaction module, and is compiled into a DNA strand displacement reaction:
Figure FDA0003946577560000031
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)
Figure FDA0003946577560000032
and
Figure FDA0003946577560000033
belongs to a degradation reaction module I, and is compiled into a DNA strand displacement reaction:
Figure FDA0003946577560000034
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)
Figure FDA0003946577560000035
belongs to a degradation reaction module II, and is compiled into a DNA strand displacement reaction:
Figure FDA0003946577560000036
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 reaction
Figure FDA0003946577560000037
Belongs 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:
Figure FDA0003946577560000041
where reshape (,) represents the reconstruction function and the sequence
Figure FDA0003946577560000042
Figure FDA0003946577560000043
And
Figure FDA0003946577560000044
Figure FDA0003946577560000045
are 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:
Figure FDA0003946577560000046
wherein sort (#) represents an ascending sort function, wherein
Figure FDA0003946577560000047
And
Figure FDA0003946577560000048
are respectively a sequence P 1R 、P 1G and P1B A new sequence after the ascending sequence arrangement,
Figure FDA0003946577560000049
and
Figure FDA00039465775600000410
are 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:
Figure FDA00039465775600000411
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 pair
Figure FDA0003946577560000051
Initial values of signal DNA chains X, Y and Z of the chaotic system are given as follows:
Figure FDA0003946577560000052
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:
Figure FDA0003946577560000053
Figure FDA0003946577560000054
wherein ,
Figure FDA0003946577560000055
index values, | and | representing sequences
Figure FDA0003946577560000056
I' =1,2, …, ω, j =1,2, …, r, representing the absolute value and the rounded-down sign, respectively 2 Omega is the number of splices, an
Figure FDA0003946577560000057
Figure FDA0003946577560000058
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
Figure FDA0003946577560000059
wherein ,
Figure FDA00039465775600000510
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 that
Figure FDA00039465775600000511
Three groups of data groups obtained by signal DNA chains X, Y and Z of chaotic system
Figure FDA00039465775600000512
And
Figure FDA00039465775600000513
each 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 are
Figure FDA0003946577560000061
Intermediate 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:
Figure FDA0003946577560000062
Figure FDA0003946577560000063
Figure FDA0003946577560000064
the R, G, B component obtained after scrambling is the sequence
Figure FDA0003946577560000065
And
Figure FDA0003946577560000066
Figure FDA0003946577560000067
and
Figure FDA0003946577560000068
are respectively a sequence P 1R 、P 1G and P1B The element (1) in (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.
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 obtained
Figure FDA0003946577560000069
And
Figure FDA00039465775600000610
the method comprises the following steps:
will be sequenced
Figure FDA00039465775600000611
And
Figure FDA00039465775600000612
are respectively reconstructed into a matrix
Figure FDA00039465775600000613
And
Figure FDA00039465775600000614
Figure FDA00039465775600000615
matrix array
Figure FDA00039465775600000616
And
Figure FDA00039465775600000617
scrambling is performed on a pixel level, respectively:
Figure FDA00039465775600000618
wherein ,s1 and s2 Is a positive integer and is a non-zero integer,
Figure FDA00039465775600000619
and
Figure FDA00039465775600000620
respectively represent matrices
Figure FDA00039465775600000621
And
Figure FDA00039465775600000622
an element of (1);
scrambling matrix Γ = [ Γ = [ Γ ] rgb] and Ψ=[Ψrgb ]Comprises the following steps:
Figure FDA0003946577560000071
Figure FDA0003946577560000072
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);
the scrambled scrambling matrix is
Figure FDA0003946577560000073
And
Figure FDA0003946577560000074
Figure FDA0003946577560000075
are respectively scrambling matrices
Figure FDA0003946577560000076
And
Figure FDA0003946577560000077
row m and column n.
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 51: to the scrambling matrix
Figure FDA0003946577560000078
And
Figure FDA0003946577560000079
and (3) reconstruction:
Figure FDA00039465775600000710
wherein ,
Figure FDA00039465775600000711
and
Figure FDA00039465775600000712
are respectively a matrix
Figure FDA00039465775600000713
And
Figure FDA00039465775600000714
a reconstructed sequence;
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:
Figure FDA00039465775600000715
Figure FDA00039465775600000716
Figure FDA00039465775600000717
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 sequences
Figure FDA00039465775600000718
And
Figure FDA00039465775600000719
obtaining an encrypted image, wherein the calculation method comprises the following steps:
Figure FDA0003946577560000081
Figure FDA0003946577560000082
wherein ,
Figure FDA0003946577560000083
in order to perform the exclusive-or operation,
Figure FDA0003946577560000084
V l r 、V l g 、V l b
Figure FDA0003946577560000085
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:
Figure FDA0003946577560000086
Figure FDA0003946577560000087
wherein ,
Figure FDA0003946577560000088
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:
Figure FDA0003946577560000089
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:
Figure FDA0003946577560000091
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:
Figure FDA0003946577560000092
and 5: de-scrambling effect sequence Λ at the R, G and B levels 2R 、Λ 2G 、Λ 2B Comprises the following steps:
Figure FDA0003946577560000093
Figure FDA0003946577560000094
Figure FDA0003946577560000095
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.
CN202211435627.0A 2022-11-16 2022-11-16 Color image encryption method for visualized DNA pivot point-mediated strand displacement reaction Active CN115834788B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
葛滨 等: "基于超混沌的快速图像加密算法", 系统工程与电子技术, vol. 38, no. 3, pages 700 - 705 *

Cited By (2)

* Cited by examiner, † Cited by third party
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