CN106023051A - DNA image encryption method based on cloud model and hyperchaotic system and system based on cloud model and hyperchaotic system - Google Patents

DNA image encryption method based on cloud model and hyperchaotic system and system based on cloud model and hyperchaotic system Download PDF

Info

Publication number
CN106023051A
CN106023051A CN201610297031.7A CN201610297031A CN106023051A CN 106023051 A CN106023051 A CN 106023051A CN 201610297031 A CN201610297031 A CN 201610297031A CN 106023051 A CN106023051 A CN 106023051A
Authority
CN
China
Prior art keywords
sequence
image
dna
matrix
value
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
CN201610297031.7A
Other languages
Chinese (zh)
Other versions
CN106023051B (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.)
Wuhan University of Technology WUT
Original Assignee
Wuhan University of Technology WUT
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 Wuhan University of Technology WUT filed Critical Wuhan University of Technology WUT
Priority to CN201610297031.7A priority Critical patent/CN106023051B/en
Publication of CN106023051A publication Critical patent/CN106023051A/en
Application granted granted Critical
Publication of CN106023051B publication Critical patent/CN106023051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking

Abstract

The invention provides a DNA image encryption method based on a cloud model and a hyperchaotic system and a system based on the cloud model and the hyperchaotic system. The method comprises the steps that a color image is decomposed into an image with three color channels; the decomposed image is transformed into a binary matrix, and the binary matrix is encoded according to the coding criterion of a DNA sequence; a chaotic sequence is generated, and the chaotic sequence is sorted by a sort number; the index value combination of the sequence is selected to scramble the matrix; the scrambled matrix is divided into small blocks; according to the addition rule of the DNA sequence, the small blocks are added; the small blocks are recombined to acquire a new DNA sequence matrix, and the matrix is decoded; the cloud model is called to generate a function to acquire new three-dimensional sequence values; sequence values X and Y are used as row and column numbers to adjust pixel positions to acquire a processed image; XOR operation is carried out on a sequence value Z and the processed image to acquire an image out; and out is assigned to the original image.

Description

DNA image encryption method based on cloud model and hyperchaotic system and system
Technical field
The present invention relates to image encryption field, particularly relate to a kind of DNA image based on cloud model and hyperchaotic system and add Decryption method.
Background technology
Digital picture is one of current most popular multimedia form, all has at aspects such as politics, economy, national defence, education Extensively application.For some special dimension, such as military, business and medical treatment, digital picture also has higher security requirements.
In order to realize digital picture secrecy, two dimensional image is typically first converted into one-dimensional data, then use by practical operation Conventional encryption algorithm is encrypted.Different from common text message, image and video have timeliness, spatiality, vision can Perceptibility, also can carry out lossy compression method, and these characteristics make more efficient for graphical design, safe AES become can Energy.From the nineties in last century, researcher utilizes these characteristics to propose multiple resume image.Summary is got up, and image adds The concept of secret skill art is: utilize the characteristics design AES of digital picture, to improve safety and the operation efficiency of encryption A kind of technology.
According to encryption and the key situation of use in deciphering, traditional encryption technology is divided into symmetric cryptography to add with asymmetric Close, or referred to as private key encryption and public key encryption.Symmetric cryptography refers to use identical key when encryption is with deciphering, and close Key only has communicating pair to know;And the encryption key in asymmetric encryption is different from decruption key, encryption key is open , anyone can know, and decruption key only deciphering person just has.
In essence, image expression in a computer remains numeral, can use traditional encryption technology completely Image file is encrypted, but owing to image two dimension or three-dimensional data form are indicated, according to traditional Image file is encrypted by encryption technology, first has to the view data to be converted to one-dimensional during encryption, also it is changed during deciphering For two dimension or three-dimensional data.Simultaneously because view data also has the characteristic that the redundancy that contains much information is high, therefore use above-mentioned side Method is to image file encryption and deciphering, the most inefficient, and poor stability.In order to solve the problems referred to above, Chinese scholars Have studied many special Image Encryption Scheme.The most common image encryption technology includes encryption based on location of pixels conversion Technology, encryption technology based on random sequence, encryption technology based on compressed encoding.
The algorithm proposed at present is going the aspect such as strong correlation, comentropy to have superperformance, but in opposing difference Poor-performing when attack, known plain text attack, chosen-plain attact, known ciphertext only attack etc. are attacked.Accordingly, it would be desirable to introduce other Theoretical or propose new algorithm and strengthen the ability of anti-heavy attack.
Summary of the invention
The technical problem to be solved in the present invention is to encrypt image file and deciphering, not only efficiency in prior art Relatively low, and the defect of poor stability, it is provided that a kind of efficient and that safety is high DNA based on cloud model and hyperchaotic system schemes As encryption method and system.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of DNA image encryption method based on cloud model and hyperchaotic system is provided, comprises the following steps:
S1: coloured image A (m, n, 3) is resolved into the image of three kinds of Color Channels, be respectively red R (m, n), green G (m, n) (m, n), wherein m, n are length and the width of image with blue B;
S2: (m, n), (m, n), (m, n) is converted into two values matrix to B to G, then according to the coding criterion of DNA sequence is to two by R Value matrix encodes, and finally obtains 3 matrix R, G, B the most transformed;
S3: control parameter a at initial value x0, y0, z0, q0 and Hyperchaotic Chen System, under conditions of b, c, d, r, utilizes Chen chaotic maps produces chaos sequence respectively:
X={x1,x2,x3,…,xm×2Y={y1,y2,y3,…,yn×4}
Z={z1,z2,z3,…,zm×2Q={q1,q2,q3,…,qn×4}
Utilizing sequence several to three chaos sequence x, y, z are ranked up operating:
[ l x , f x ] = s o r t ( x ) [ l y , f y ] = s o r t ( y ) [ l z , f z ] = s o r t ( z ) [ l q , f q ] = s o r t ( q )
Wherein [lx fx]=sort (x) is the index function of sequence, and fx is to the new sequence obtained after the arrangement of x ascending order, lx Being the index value of fx, ly, lz, lq are identical with lx;
S4: according to following formula, selects sequence x, the index value combination of y, z come scramble R (m, n), G (m, n), B (m, n), scramble Rear gained matrix be R (m, n), G (m, n), B (m, n)
R ( i , j ) ↔ R ( l x ( i ) , l y ( j ) ) G ( i , j ) ↔ G ( l z ( i ) , l y ( j ) ) B ( i , j ) ↔ B ( l x ( i ) , l q ( j ) ) , 1 ≤ i ≤ m , 1 ≤ j ≤ n ;
S5: by the R of scramble (i, j), G (i, j) and B (i, j) is divided into fritter, respectively Rb (α, β), Gb (α, β) and Bb (α, β), wherein, α=1,2,3 ..., i/4;β=1,2,3 ..., j;
S6: according to the addition rule of DNA sequence, using the following method fritter Rb, Gb and Bb are added:
R b { i , j } ← R b { i , j } + R b { l x ( i ) , l y ( j ) } ; G b { i , j } ← G b { i , j } + G b { l x ( i ) , l q ( j ) } ; B b { i , j } ← B b { i , j } + R b { l y ( i ) , l q ( j ) } ;
S7: reconfigure fritter Bb, Gb and Bb, obtains 3 new DNA sequence matrixes, and R ', G ' and B ', by R ', G ' and B ' According to DNA decoding rule be decoded, obtain 3 matrix R ", G " and B ";
S8: three parameters Ex, En, He of input cloud model, and call cloud model generating function, obtain the three-dimensional of three-dimensional cloud Functional value x, y, z, to third dimension functional value z delivery, obtains new three-dimensional series value X, Y, Z;
S9: respectively with sequential value X and Y as ranks sequence number to R ", G ", B " carry out location of pixels adjustment, after being processed Image R ", G ", B ";With sequential value Z and R ", G ", B " carry out XOR, obtain image out, then out be assigned to artwork.
Present invention also offers a kind of DNA image encryption system based on cloud model and hyperchaotic system, including:
Decomposing image module, for coloured image A (m, n, 3) being resolved into the image of three kinds of Color Channels, being red R respectively (m, n), (m, n) (m, n), wherein m, n are length and the width of image to green G with blue B;
Modular converter, for by R, (m, n), (m, n), (m, n) is converted into two values matrix to B to G, then according to the volume of DNA sequence Two values matrix is encoded by code criterion, finally obtains 3 matrix R, G, B the most transformed, and size is all m*n*4;
Chaos sequence generation module, is used at initial value x0, y0, z0, q0 and Hyperchaotic Chen System control parameter a, b, Under conditions of c, d, r, Chen chaotic maps is utilized to produce chaos sequence respectively:
X={x1,x2,x3,…,xm×2Y={y1,y2,y3,…,yn×4}
Z={z1,z2,z3,…,zm×2Q={q1,q2,q3,…,qn×4}
Utilizing sequence several to three chaos sequence x, y, z are ranked up operating:
[ l x , f x ] = s o r t ( x ) [ l y , f y ] = s o r t ( y ) [ l z , f z ] = s o r t ( z ) [ l q , f q ] = s o r t ( q )
Wherein [lx fx]=sort (x) is the index function of sequence, and fx is to the new sequence obtained after the arrangement of x ascending order, lx Being the index value of fx, ly, lz, lq are identical with lx;
Scramble module, for according to following formula, selects sequence x, the index value combination of y, z come scramble R (m, n), G (m, n), B (m, n), after scramble gained matrix be R (m, n), G (m, n), B (m, n)
R ( i , j ) ↔ R ( l x ( i ) , l y ( j ) ) G ( i , j ) ↔ G ( l z ( i ) , l y ( j ) ) B ( i , j ) ↔ B ( l x ( i ) , l q ( j ) ) , 1 ≤ i ≤ m , 1 ≤ j ≤ n
Piecemeal module, for by the R of scramble, (i, j), (i, j) (i, j) is divided into fritter to G, respectively Rb (α, β), Gb with B (α, β) and Bb (α, β), wherein, α=1,2,3 ..., i/4;β=1,2,3 ..., j;The size of fritter is 4*4;
Fritter computing module, for the addition rule according to DNA sequence, is added fritter Rb, Gb and Bb using the following method:
R b { i , j } ← R b { i , j } + R b { l x ( i ) , l y ( j ) } ; G b { i , j } ← G b { i , j } + G b { l x ( i ) , l q ( j ) } ; B b { i , j } ← B b { i , j } + R b { l y ( i ) , l q ( j ) } ;
Decoder module, is used for reconfiguring fritter Bb, Gb and Bb, obtains 3 new DNA sequence matrixes, R ', G ' and B ', By R ', G ' and B ' according to DNA decoding rule be decoded, obtain 3 matrix R ", G " and B ";
Cloud model produces module, for inputting three parameters Ex, En, He of cloud model, and calls cloud model generating function, Obtain the three-dimensional function value x, y, z of three-dimensional cloud, to third dimension functional value z delivery, obtain new three-dimensional series value X, Y, Z;
Encrypting module, for respectively with sequential value X and Y as ranks sequence number to R ", G ", B " carry out location of pixels adjustment, Image R after being processed ", G ", B ";With sequential value Z and R ", G ", B " carry out XOR, obtain image out, then by out It is assigned to artwork.
The beneficial effect comprise that: present invention DNA image based on cloud model and hyperchaotic system AES, Hyperchaotic Chen System is used to carry out scramble so that scrambling effect has more the chaotic characteristic of complexity.Utilize cloud model randomness Feature, obtain three-dimensional cloud model, respectively image carried out location of pixels and pixel value scramble, it is achieved that double to digital picture Reset disorderly.Compared with existing algorithm, two class algorithms of the image scrambling of DNA encoding are combined by this algorithm, compensate for having calculated Shortcoming in terms of the dual scramble of method, is effectively improved scramble degree and efficiency.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 a is that the emulation of embodiment of the present invention Matlab obtains the X phase place of Hyperchaotic Chen System and the phasor of Y phase place;
Fig. 1 b is that the emulation of embodiment of the present invention Matlab obtains the X phase place of Hyperchaotic Chen System and the phasor of Z phase place;
Fig. 1 c is that the emulation of embodiment of the present invention Matlab obtains the Y phase place of Hyperchaotic Chen System and the phasor of Z phase place;
Fig. 1 d is that the emulation of embodiment of the present invention Matlab obtains the X phase place of Hyperchaotic Chen System, Y phase place and Z phase place The phasor of figure, i.e. the three-dimensional projection of chen hyperchaotic system;
Fig. 2 is the DNA image AES flow chart of embodiment of the present invention cloud model and hyperchaotic system;
Fig. 3 is the DNA image encryption system structural representation of embodiment of the present invention cloud model and hyperchaotic system;
Fig. 4 a is the artwork to be encrypted of the embodiment of the present invention;
Fig. 4 b is the encrypted image of Fig. 4 a.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, right The present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, not For limiting the present invention.
Present invention DNA image based on cloud model and hyperchaotic system AES, according to the phase of digital picture bit plane Close theoretical knowledge, it is proposed that DNA bit matrix, utilize not coordination DNA matrix to carry the characteristic that the information ratio of original image is different, increase The ability that strong antinoise is attacked.
DNA encoding and decoding and the cloud model of image was first introduced before explanation specific algorithm.
The DNA encoding of image and decoding
One chain DNA, is made up of four different basic nucleotide: adenine (A), thymus pyrimidine (T), cytosine (C) With guanine (G), these 4 kinds of nucleotide can be combined together to form a long sequence, and A Yu T pairing, C Yu G matches.Pass through Regulation A, C, G, T are separately encoded is 00, and 01,10,11, such encoding scheme has 24 kinds, but only 8 kinds encoding schemes meet Watson-Crick rule, such as table 1.Assume to specify A-OO, T-O1, C-10, G-11, such as binary sequence 101 10100, DNA Sequence can be write as GTCA.
8 kinds of coding mapping rules of table 1 DNA sequence
The plus-minus algebraic operation of DNA sequence
Along with developing rapidly that DNA calculates, some research worker propose some biologic operation and generation of based on DNA sequence Number computing, such as additive operation.DNA sequence addition and subtraction are derived from addition and subtraction in traditional binary.
Corresponding to 8 kinds of DNA encoding schemes, there is also 8 kinds of DNA additive operations and 8 kinds of DNA subtractions.Such as table 23 institute Show, it may be seen that any one gene is unique in every row or column, i.e. the result of additive operation and subtraction have and Only one of which.
The additive operation of table 2 DNA sequence
The subtraction of table 3 DNA sequence
The system model of Hyperchaotic Chen System
Typically being defined as follows of hyperchaotic system: there is the four-dimension or four-dimensional above Differential Systems, and at least Two or more positive Lyapunov indexes.2004, Li etc. by design Nonlinear state feedback controller from Chen System obtains hyperchaotic system, and its dynamic behavior has been studied.The dimensionless power of Hyperchaotic Chen System Equation is described as follows:
x · = a ( y - x ) + u y · = d x - x z + c y z · = x y - b z u · = y z + r u
In system, x, y, z and u are the state variable of system, and a, b, c, d, r are the control parameter being, as parameter a=35, b When=3, c=12, d=7 and 0≤r≤0.085, system shows as chaotic motion.Work as a=35, b=3, c=12, d=7 and During 0.085≤r≤0.798, system shows as hyperchaos motion (motion of the embodiment of the present invention i.e. based on system hyperchaos).When When a=35, b=3, c=12, d=7 and 0.798≤r≤0.90, system shows as cycle movement.
For Hyperchaotic Chen System, parameter a=35 of selecting system, b=3, c=28, d=7 and 0.085≤r≤ 0.798.Taking r=0.6, x, y, z, u take initial value 1 respectively, and 1.1,1.2,1.3, step-length 0.01, calculate 10000 points, imitate with Matlab Really obtain the phasor of this system, as shown in Fig. 1 a, 1b, 1c and 1d.
Cloud model
Cloud is the uncertain transformation model between certain qualitativing concept and its quantificational expression represented with Linguistic Value.It is main Two kinds of uncertainties of concept in things or human knowledge in objective world to be reflected: ambiguity (the being this or that property on border) and Randomness (probability of generation), and the two is completely integrated, constitute qualitative and the most mutual mapping.Because counting In domain space, cloud neither a probability density function determined, is not one and distinct is subordinate to curve, but one can be stretched Contracting, boundless edge, sight boundless, remote flexible, near-sighted, as the mathe-matical map image of the one-to-many of cloud, have with the cloud in natural phenomena Similar uncertain character, so using " cloud " to name the mathematics replacement theory between this concept data.
If U is a quantitative domain represented with exact numerical,T is U qualitativing concept spatially, if element x Degree of certainty CT (x) ∈ [0,1] that T is subordinate to by (x ∈ X) is a random number having steady tendency, then concept T is from domain U to district Between the distribution being mapped in number field space of [0,1], referred to as cloud (Cloud).
CT(x):U→[0,1]x→CT(x)
This definition can also be generalized to N-dimensional cloud.Even U is N-dimensional domain, X ∈ U, then N-dimensional element x=(x1, x2 ..., Xn) degree of certainty CT (x) ∈ [0,1] that T is subordinate to by (x ∈ X) is also a random number having steady tendency.Thus, if given In the number field space in final conclusion territory, x be (xl, x2 ..., xn), then strictly expressing of a water dust, should be one by independent variable Domain space coordinates and the numerical value pair of the degree of certainty to concept thereof, it may be assumed that
CloudConceptTerm[Ex (x), En (x), He (x)] |xU (domain space coordinates, degree of certainty)
The DNA image AES based on cloud model and hyperchaotic system of the present invention specifically includes following steps:
S1: coloured image A (m, n, 3) is resolved into the image of three kinds of Color Channels be respectively red R (m, n), green G (m, n), (m, n), wherein m, n are length and the width of image to blue B;Image A (m, n, 3) is as shown in fig. 4 a;
S2: (m, n), (m, n), (m, n) is converted into two values matrix to B to G, then according to the 3rd kind of coding rule is to two-value square by R Battle array encodes, and finally obtains 3 matrix R, G, B the most transformed, and size is all (m*n*4)
The coding criterion of table 1 DNA sequence
S3: in initial value x0, y0, z0, q0 and systematic parameter a, under conditions of b, c, d, r, utilizes Chen chaotic maps to produce Give birth to chaos sequence respectively:
X={x1,x2,x3,…,xm×2Y={y1,y2,y3,…,yn×4}
Z={z1,z2,z3,…,zm×2Q={q1,q2,q3,…,qn×4}
Utilizing sequence several to three chaos sequence x, y, z are ranked up operating:
[ l x , f x ] = s o r t ( x ) [ l y , f y ] = s o r t ( y ) [ l z , f z ] = s o r t ( z ) [ l q , f q ] = s o r t ( q )
Wherein [lx fx]=sort (x) is the index function of sequence, and fx is to the new sequence obtained after the arrangement of x ascending order, lx Being the index value of fx, ly, lz, lq are identical with lx.I.e. [ly fy]=sort (y) is the index function of sequence, and fy is to y ascending order The new sequence obtained after arrangement, ly is the index value of fy;[lz fz]=sort (z) is the index function of sequence, and fz is to z liter The new sequence obtained after sequence arrangement, lz is the index value of fz;[lz fz]=sort (z) is the index function of sequence, and fz is to z The new sequence obtained after ascending order arrangement, lz is the index value of fz.
S4: according to following formula, selects sequence x, the index value combination of y, z come scramble R (m, n), G (m, n), B (m, n), scramble Rear gained matrix be R (m, n), G (m, n), B (m, n)
R ( i , j ) ↔ R ( l x ( i ) , l y ( j ) ) G ( i , j ) ↔ G ( l z ( i ) , l y ( j ) ) B ( i , j ) ↔ B ( l x ( i ) , l q ( j ) ) , 1 ≤ i ≤ m , 1 ≤ j ≤ n
S5: by the R of scramble (i, j), G (i, j), B (i, j) is divided into fritter, Rb (α, β), Gb (α, β) and Bb (α, β), its In, α=1,2,3 ..., i/4;β=1,2,3 ..., j;The size of fritter is 4*4
S6: according to the addition rule of DNA sequence, using the following method by Rb, the block of Gb, Bb is added:
R b { i , j } ← R b { i , j } + R b { l x ( i ) , l y ( j ) } ; G b { i , j } ← G b { i , j } + G b { l x ( i ) , l q ( j ) } ; B b { i , j } ← B b { i , j } + R b { l y ( i ) , l q ( j ) } ;
S7: reconfigure fritter Bb, Gb, Bb, obtains 3 new DNA sequence matrixes, R ', G ', B ',
R ', G ', B ' are decoded according to the 4th kind of DNA decoding rule, obtain 3 matrix R ", G ", B ";
S8: three parameters (as secondary scramble key, can be defined by the user) of input cloud model: Ex=0, En=1, He =0.02, thus call cloud model generating function (cloud generator), similar one-dimensional cloud obtain three-dimensional three-dimensional function value x of cloud, y, z.To third dimension functional value z delivery, obtain new three-dimensional series value X, Y, Z.Utilize cloud generator, can carry out twice replaced, with The DNA encoding decoding process that protection is taked.Wherein, it is desirable to Ex: water dust, in the expectation of domain spatial distribution, is to be best able to represent determine Property concept point, be this concept quantify most typically sample.Entropy En: " entropy " this concept is initially thermodynamic (al) as describing One state parameter, is introduced into the most again statistical physics, theory of information, complication system etc., in order to measure uncertain degree.? In cloud model, entropy represents the mensurable granularity of qualitativing concept, and entropy is the biggest, and usual concept is the most macroscopical, is also that qualitativing concept is uncertain The tolerance of property, randomness and ambiguity by concept together decide on.On the one hand, En is the tolerance of qualitativing concept randomness, reflection The dispersion degree of the water dust of this qualitativing concept can be represented;On the other hand, it is again the tolerance of being this or that property of qualitativing concept, Reflect the span of the water dust that can be accepted by concept in domain space.Randomness and mould is reflected with same numerical characteristic Paste property, the most necessarily reflects the relatedness between them.The uncertainty measure of super entropy He: entropy, the i.e. entropy of entropy, by the randomness of entropy Together decide on ambiguity.Reflect each numerical value and be subordinate to the cohesion degree of the coherency of this Linguistic Value degree, i.e. water dust.Super Entropy is the biggest, and the dispersion degree of cloud is the biggest, and the randomness of degree of membership increases the most therewith, and the thickness of cloud is the biggest.
S9: respectively by the value of X and Y sequence as ranks sequence number to R ", G ", B " carry out location of pixels adjustment, processed After image R ", G ", B ";With Z sequential value and R ", G ", B " carry out XOR, obtain image out, then out be assigned to former Figure, i.e. original color image A (m, n, 3).After encryption as shown in Figure 4 b.Utilize the cloud sequence produced, again structure DNA S-box, Can effectively keep out differential attack, known plain text attack and chosen-plain attact.
Embodiment of the present invention DNA image based on cloud model and hyperchaotic system encryption system, is used for realizing above-mentioned enforcement The encryption method of example, as it is shown on figure 3, specifically include:
Decomposing image module, for coloured image A (m, n, 3) being resolved into the image of three kinds of Color Channels, being red R respectively (m, n), (m, n) (m, n), wherein m, n are length and the width of image to green G with blue B;
Modular converter, for by R, (m, n), (m, n), (m, n) is converted into two values matrix to B to G, then according to the volume of DNA sequence Two values matrix is encoded by code criterion, finally obtains 3 matrix R, G, B the most transformed, and size is all m*n*4;
Chaos sequence generation module, is used at initial value x0, y0, z0, q0 and Hyperchaotic Chen System control parameter a, b, Under conditions of c, d, r, Chen chaotic maps is utilized to produce chaos sequence respectively:
X={x1,x2,x3,…,xm×2Y={y1,y2,y3,…,yn×4}
Z={z1,z2,z3,…,zm×2Q={q1,q2,q3,…,qn×4}
Utilizing sequence several to three chaos sequence x, y, z are ranked up operating:
[ l x , f x ] = s o r t ( x ) [ l y , f y ] = s o r t ( y ) [ l z , f z ] = s o r t ( z ) [ l q , f q ] = s o r t ( q )
Wherein [lx fx]=sort (x) is the index function of sequence, and fx is to the new sequence obtained after the arrangement of x ascending order, lx Being the index value of fx, ly, lz, lq are identical with lx;
Scramble module, for according to following formula, selects sequence x, the index value combination of y, z come scramble R (m, n), G (m, n), B (m, n), after scramble gained matrix be R (m, n), G (m, n), B (m, n)
R ( i , j ) ↔ R ( l x ( i ) , l y ( j ) ) G ( i , j ) ↔ G ( l z ( i ) , l y ( j ) ) B ( i , j ) ↔ B ( l x ( i ) , l q ( j ) ) , 1 ≤ i ≤ m , 1 ≤ j ≤ n
Piecemeal module, for by the R of scramble (i, j), G (i, j) and B (i, j) is divided into fritter, Rb (α, β), Gb (α, β) and Bb (α, β), wherein, α=1,2,3 ..., i/4;β=1,2,3 ..., j;The size of fritter is 4*4;
Fritter computing module, for the addition rule according to DNA sequence, is added fritter Rb, Gb and Bb using the following method:
R b { i , j } ← R b { i , j } + R b { l x ( i ) , l y ( j ) } ; G b { i , j } ← G b { i , j } + G b { l x ( i ) , l q ( j ) } ; B b { i , j } ← B b { i , j } + R b { l y ( i ) , l q ( j ) } ;
Decoder module, is used for reconfiguring fritter Bb, Gb and Bb, obtains 3 new DNA sequence matrixes, R ', G ' and B ', By R ', G ' and B ' according to DNA decoding rule be decoded, obtain 3 matrix R ", G " and B ";
Cloud model produces module, for inputting three parameters Ex, En, He of cloud model, and calls cloud model generating function, Obtain the three-dimensional function value x, y, z of three-dimensional cloud, to third dimension functional value z delivery, obtain new three-dimensional series value X, Y, Z;
Encrypting module, for respectively with sequential value X and Y as ranks sequence number to R ", G ", B " carry out location of pixels adjustment, Image R after being processed ", G ", B ";With sequential value Z and R ", G ", B " carry out XOR, obtain image out, then by out It is assigned to artwork.
It should be appreciated that for those of ordinary skills, can be improved according to the above description or be converted, And all these modifications and variations all should belong to the protection domain of claims of the present invention.

Claims (6)

1. a DNA image encryption method based on cloud model and hyperchaotic system, it is characterised in that comprise the following steps:
S1: coloured image A (m, n, 3) is resolved into the image of three kinds of Color Channels, be respectively red R (m, n), green G (m, n) and blue (m, n), wherein m, n are length and the width of image to B;
S2: (m, n), (m, n), (m, n) is converted into two values matrix to B to G, then according to the coding criterion of DNA sequence is to two-value square by R Battle array encodes, and finally obtains 3 matrix R, G, B the most transformed;
S3: control parameter a at initial value x0, y0, z0, q0 and Hyperchaotic Chen System, under conditions of b, c, d, r, utilize Chen Chaotic maps produces chaos sequence respectively:
X={x1,x2,x3,…,xm×2Y={y1,y2,y3,…,yn×4}
Z={z1,z2,z3,…,zm×2Q={q1,q2,q3,…,qn×4}
Utilizing sequence several to three chaos sequence x, y, z are ranked up operating:
[ l x , f x ] = s o r t ( x ) [ l y , f y ] = s o r t ( y ) [ l z , f z ] = s o r t ( z ) [ l q , f q ] = s o r t ( q )
Wherein [lx fx]=sort (x) is the index function of sequence, and fx is that lx is fx to the new sequence obtained after the arrangement of x ascending order Index value, ly, lz, lq are identical with lx;
S4: according to following formula, selects sequence x, the index value combination of y, z come scramble R (m, n), G (m, n), B (m, n), institute after scramble Matrix be R (m, n), G (m, n), B (m, n)
R ( i , j ) ↔ R ( l x ( i ) , l y ( j ) ) G ( i , j ) ↔ G ( l z ( i ) , l y ( j ) ) B ( i , j ) ↔ B ( l x ( i ) , l q ( j ) ) , 1 ≤ i ≤ m , 1 ≤ j ≤ n ;
S5: by the R of scramble (i, j), G (i, j) and B (i, j) is divided into fritter, respectively Rb (α, β), Gb (α, β) and Bb (α, β), Wherein, α=1,2,3 ..., i/4;β=1,2,3 ..., j;
S6: according to the addition rule of DNA sequence, using the following method fritter Rb, Gb and Bb are added:
R b { i , j } ← R b { i , j } + R b { l x ( i ) , l y ( j ) } ; G b { i , j } ← G b { i , j } + G b { l x ( i ) , l q ( j ) } ; B b { i , j } ← B b { i , j } + R b { l y ( i ) , l q ( j ) } ;
S7: reconfigure fritter Bb, Gb and Bb, obtains 3 new DNA sequence matrixes, R ', G ' and B ', by R ', G ' and B ' according to DNA decoding rule be decoded, obtain 3 matrix R ", G " and B ";
S8: three parameters Ex, En, He of input cloud model, and call cloud model generating function, obtain the three-dimensional function of three-dimensional cloud Value x, y, z, to third dimension functional value z delivery, obtains new three-dimensional series value X, Y, Z;
S9: respectively with sequential value X and Y as ranks sequence number to R ", G ", B " carry out location of pixels adjustment, the figure after being processed As R ", G ", B ";With sequential value Z and R ", G ", B " carry out XOR, obtain image out, then out be assigned to artwork.
Method the most according to claim 1, it is characterised in that the dimensionless kinetics equation of Hyperchaotic Chen System is retouched State as follows:
x · = a ( y - x ) + u y · = d x - x z + c y z · = x y - b z u · = y z + r u
In system, x, y, z and u are the state variable of system, and x, y, z, u take initial value 1 respectively, 1.1,1.2,1.3, and step-length 0.01, meter Calculate 10000 points, control parameter a=35, b=3, c=12, d=7,0.085≤k≤0.798.
Method the most according to claim 1, it is characterised in that the coding criterion such as following table of DNA sequence:
One of them chain DNA, is made up of four different basic nucleotide: adenine A, thymus pyrimidine T, cytosine C and bird are fast Purine G, uses rule 3 to encode two values matrix in step S2, by R ', G ', B ' according to corresponding DNA decoding rule in step S7 Then it is decoded.
Method the most according to claim 1, it is characterised in that in step S8, three parameters in cloud model: Ex=0, En =1, He=0.02.
Method the most according to claim 1, it is characterised in that the addition rule of DNA sequence is:
6. a DNA image encryption system based on cloud model and hyperchaotic system, it is characterised in that including:
Decompose image module, for coloured image A (m, n, 3) being resolved into the image of three kinds of Color Channels, be respectively red R (m, N), (m, n) (m, n), wherein m, n are length and the width of image to green G with blue B;
Modular converter, for by R, (m, n), (m, n), (m, n) is converted into two values matrix to B to G, then according to the coding of DNA sequence is accurate Then encoding two values matrix, finally obtain 3 matrix R, G, B the most transformed, size is all m*n*4;
Chaos sequence generation module, for controlling parameter a, b, c, d, r at initial value x0, y0, z0, q0 and Hyperchaotic Chen System Under conditions of, utilize Chen chaotic maps to produce chaos sequence respectively:
X={x1,x2,x3,…,xm×2Y={y1,y2,y3,…,yn×4}
Z={z1,z2,z3,…,zm×2Q={q1,q2,q3,…,qn×4}
Utilizing sequence several to three chaos sequence x, y, z are ranked up operating:
[ l x , f x ] = s o r t ( x ) [ l y , f y ] = s o r t ( y ) [ l z , f z ] = s o r t ( z ) [ l q , f q ] = s o r t ( q )
Wherein [lx fx]=sort (x) is the index function of sequence, and fx is that lx is fx to the new sequence obtained after the arrangement of x ascending order Index value, ly, lz, lq are identical with lx;
Scramble module, for according to following formula, selects sequence x, the index value combination of y, z come scramble R (m, n), G (m, n), B (m, N), after scramble gained matrix be R (m, n), G (m, n), B (m, n)
R ( i , j ) ↔ R ( l x ( i ) , l y ( j ) ) G ( i , j ) ↔ G ( l z ( i ) , l y ( j ) ) B ( i , j ) ↔ B ( l x ( i ) , l q ( j ) ) , 1 ≤ i ≤ m , 1 ≤ j ≤ n
Piecemeal module, for by the R of scramble, (i, j), (i, j) (i, j) is divided into fritter to G, respectively Rb (α, β), Gb (α, β) with B With Bb (α, β), wherein, α=1,2,3 ..., i/4;β=1,2,3 ..., j;The size of fritter is 4*4;
Fritter computing module, for the addition rule according to DNA sequence, is added fritter Rb, Gb and Bb using the following method:
R b { i , j } ← R b { i , j } + R b { l x ( i ) , l y ( j ) } ; G b { i , j } ← G b { i , j } + G b { l x ( i ) , l q ( j ) } ; B b { i , j } ← B b { i , j } + R b { l y ( i ) , l q ( j ) } ;
Decoder module, is used for reconfiguring fritter Bb, Gb and Bb, obtains 3 new DNA sequence matrixes, R ', G ' and B ', by R ', G ' and B ' according to DNA decoding rule be decoded, obtain 3 matrix R ", G " and B ";
Cloud model produces module, for inputting three parameters Ex, En, He of cloud model, and calls cloud model generating function, obtains The three-dimensional function value x, y, z of three-dimensional cloud, to third dimension functional value z delivery, obtains new three-dimensional series value X, Y, Z;
Encrypting module, for respectively with sequential value X and Y as ranks sequence number to R ", G ", B " carry out location of pixels adjustment, obtain Image R after process ", G ", B ";With sequential value Z and R ", G ", B " carry out XOR, obtain image out, then by out assignment To artwork.
CN201610297031.7A 2016-05-06 2016-05-06 DNA image encryption method and system based on cloud model and hyperchaotic system Active CN106023051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610297031.7A CN106023051B (en) 2016-05-06 2016-05-06 DNA image encryption method and system based on cloud model and hyperchaotic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610297031.7A CN106023051B (en) 2016-05-06 2016-05-06 DNA image encryption method and system based on cloud model and hyperchaotic system

Publications (2)

Publication Number Publication Date
CN106023051A true CN106023051A (en) 2016-10-12
CN106023051B CN106023051B (en) 2019-07-12

Family

ID=57081244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610297031.7A Active CN106023051B (en) 2016-05-06 2016-05-06 DNA image encryption method and system based on cloud model and hyperchaotic system

Country Status (1)

Country Link
CN (1) CN106023051B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559676A (en) * 2016-11-25 2017-04-05 中北大学 A kind of ciphered compressed of image and decryption decompression method
CN107451948A (en) * 2017-08-09 2017-12-08 山东师范大学 Image Encrypt and Decrypt method and system based on chaos and DNA dynamic plane computings
CN107610037A (en) * 2017-09-29 2018-01-19 重庆第二师范学院 A kind of image encryption method and device for merging more chaotic maps and DNA encoding
CN107657579A (en) * 2017-09-19 2018-02-02 中国矿业大学 Image encryption method based on DNA encoding and chaos
CN107896143A (en) * 2017-10-12 2018-04-10 东北大学 Joint coding method based on high-dimension chaotic system and arithmetic coding
CN108322622A (en) * 2018-02-23 2018-07-24 哈尔滨理工大学 A kind of color digital image encryption method based on 2D-VMD and octuple hyperchaotic system
CN108521534A (en) * 2018-04-13 2018-09-11 中国矿业大学 More image encryption methods based on DNA encoding and old hyperchaos
CN108566178A (en) * 2018-04-16 2018-09-21 武汉理工大学 A kind of random opportunistic network characteristic value filtering method of unstable state
CN110148197A (en) * 2019-05-23 2019-08-20 桂林电子科技大学 A kind of two-dimensional engineering graphic size marking self-adapting regulation method
CN110224976A (en) * 2019-04-29 2019-09-10 北京邮电大学 A kind of encryption communication method, device and computer readable storage medium
CN110751591A (en) * 2019-09-16 2020-02-04 北卡科技有限公司 Self-adaptive color image steganography method based on fuzzy inference system
CN113099069A (en) * 2021-04-12 2021-07-09 中国矿业大学 Multi-image encryption method based on three-dimensional spiral model
CN114615091A (en) * 2022-05-10 2022-06-10 中国空气动力研究与发展中心计算空气动力研究所 Industrial time sequence measurement and control data rapid encryption and transmission method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030225693A1 (en) * 1997-08-27 2003-12-04 Data Treasury Corporation Biometrically enabled private secure information repository
CN101145901A (en) * 2007-07-06 2008-03-19 哈尔滨工程大学 Ultra-chaos pseudo random sequence generator
CN104766350A (en) * 2015-04-16 2015-07-08 大连大学 Image encryption method based on splicing model and hyper-chaotic system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030225693A1 (en) * 1997-08-27 2003-12-04 Data Treasury Corporation Biometrically enabled private secure information repository
CN101145901A (en) * 2007-07-06 2008-03-19 哈尔滨工程大学 Ultra-chaos pseudo random sequence generator
CN104766350A (en) * 2015-04-16 2015-07-08 大连大学 Image encryption method based on splicing model and hyper-chaotic system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
徐光宪等: "《基于混沌系统和DNA序列运算的新型图像加密》", 《计算机应用研究》 *
魏广政等: "《一种改进的基于DNA编码和混沌映射的图像加密方法》", 《计算机应用研究》 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559676A (en) * 2016-11-25 2017-04-05 中北大学 A kind of ciphered compressed of image and decryption decompression method
CN107451948B (en) * 2017-08-09 2020-09-29 山东师范大学 Image encryption and decryption method and system based on chaos and DNA dynamic plane operation
CN107451948A (en) * 2017-08-09 2017-12-08 山东师范大学 Image Encrypt and Decrypt method and system based on chaos and DNA dynamic plane computings
CN107657579A (en) * 2017-09-19 2018-02-02 中国矿业大学 Image encryption method based on DNA encoding and chaos
CN107657579B (en) * 2017-09-19 2021-06-25 中国矿业大学 Image encryption method based on DNA coding and chaos
CN107610037A (en) * 2017-09-29 2018-01-19 重庆第二师范学院 A kind of image encryption method and device for merging more chaotic maps and DNA encoding
CN107896143A (en) * 2017-10-12 2018-04-10 东北大学 Joint coding method based on high-dimension chaotic system and arithmetic coding
CN108322622A (en) * 2018-02-23 2018-07-24 哈尔滨理工大学 A kind of color digital image encryption method based on 2D-VMD and octuple hyperchaotic system
CN108521534A (en) * 2018-04-13 2018-09-11 中国矿业大学 More image encryption methods based on DNA encoding and old hyperchaos
CN108566178A (en) * 2018-04-16 2018-09-21 武汉理工大学 A kind of random opportunistic network characteristic value filtering method of unstable state
CN108566178B (en) * 2018-04-16 2021-08-03 武汉理工大学 Unsteady random opportunity network characteristic value filtering method
CN110224976A (en) * 2019-04-29 2019-09-10 北京邮电大学 A kind of encryption communication method, device and computer readable storage medium
CN110148197A (en) * 2019-05-23 2019-08-20 桂林电子科技大学 A kind of two-dimensional engineering graphic size marking self-adapting regulation method
CN110148197B (en) * 2019-05-23 2022-10-04 桂林电子科技大学 Adaptive adjustment method for dimension marking of two-dimensional engineering drawing
CN110751591A (en) * 2019-09-16 2020-02-04 北卡科技有限公司 Self-adaptive color image steganography method based on fuzzy inference system
CN110751591B (en) * 2019-09-16 2023-04-07 北卡科技有限公司 Self-adaptive color image steganography method based on fuzzy inference system
CN113099069A (en) * 2021-04-12 2021-07-09 中国矿业大学 Multi-image encryption method based on three-dimensional spiral model
CN114615091A (en) * 2022-05-10 2022-06-10 中国空气动力研究与发展中心计算空气动力研究所 Industrial time sequence measurement and control data rapid encryption and transmission method
CN114615091B (en) * 2022-05-10 2022-07-22 中国空气动力研究与发展中心计算空气动力研究所 Industrial time sequence measurement and control data rapid encryption and transmission method

Also Published As

Publication number Publication date
CN106023051B (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN106023051B (en) DNA image encryption method and system based on cloud model and hyperchaotic system
Chai et al. A novel image encryption scheme based on DNA sequence operations and chaotic systems
Zhang et al. Chaotic image encryption algorithm based on bit permutation and dynamic DNA encoding
Chai et al. Exploiting plaintext-related mechanism for secure color image encryption
CN106952213B (en) New chaotic image encryption method based on bit permutation Yu dynamic DNA encoding
CN107610037A (en) A kind of image encryption method and device for merging more chaotic maps and DNA encoding
Sha et al. A chaotic image encryption scheme based on genetic central dogma and KMP method
CN106407824B (en) A kind of image encryption method and device, key stream generating method and key stream generator
CN102263636B (en) Stream cipher key control method for fusing neural network with chaotic mappings
CN107239708A (en) It is a kind of that the image encryption method converted with score field is mapped based on quantum chaos
CN105046161A (en) DNA dynamic coding based colored image encryption method
CN110430036A (en) A kind of RGB color image encryption method based on poor chaotic maps
CN107220923A (en) Digital picture feedback encryption method based on image network
Telem et al. A simple and robust gray image encryption scheme using chaotic logistic map and artificial neural network
CN106228504A (en) Based on plaintext and the digital image encryption method of key structure encryption parameter
CN107798708A (en) A kind of out of order codings of DNA and the image encryption and decryption method of chaotic maps
Wang et al. An image encryption scheme using a chaotic neural network and a network with multistable hyperchaos
Mokhtar et al. Colored image encryption algorithm using DNA code and chaos theory
CN106558015A (en) A kind of new intersection composite chaotic multicolor image encryption algorithm
Zheng et al. An ACP-based approach to color image encryption using DNA sequence operation and hyper-chaotic system
Zheng et al. An ACP-based parallel approach for color image encryption using redundant blocks
Hu et al. On the security analysis of a Hopfield chaotic neural network-based image encryption algorithm
Ge et al. Image encryption application of chaotic sequences incorporating quantum keys
CN108965639B (en) More diffusion image encrypting and decrypting methods based on chaos segmentation
CN108880782B (en) Minimum value secret computing method under cloud computing platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant