CN112737765A - Image encryption algorithm based on memristor chaotic neural network and improved Logistic chaotic mapping - Google Patents
Image encryption algorithm based on memristor chaotic neural network and improved Logistic chaotic mapping Download PDFInfo
- Publication number
- CN112737765A CN112737765A CN202110148355.5A CN202110148355A CN112737765A CN 112737765 A CN112737765 A CN 112737765A CN 202110148355 A CN202110148355 A CN 202110148355A CN 112737765 A CN112737765 A CN 112737765A
- Authority
- CN
- China
- Prior art keywords
- chaotic
- memristor
- neural network
- diffusion
- image
- 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.)
- Pending
Links
- 230000000739 chaotic effect Effects 0.000 title claims abstract description 56
- 238000013528 artificial neural network Methods 0.000 title claims abstract description 23
- 238000013507 mapping Methods 0.000 title claims abstract description 18
- 238000009792 diffusion process Methods 0.000 claims abstract description 24
- 238000000034 method Methods 0.000 claims abstract description 16
- 230000006870 function Effects 0.000 claims description 9
- 230000008569 process Effects 0.000 claims description 8
- 230000004913 activation Effects 0.000 claims description 2
- 238000013527 convolutional neural network Methods 0.000 claims description 2
- 230000005684 electric field Effects 0.000 claims description 2
- 238000000605 extraction Methods 0.000 claims description 2
- 230000008713 feedback mechanism Effects 0.000 claims description 2
- 238000004891 communication Methods 0.000 abstract 1
- 230000000694 effects Effects 0.000 abstract 1
- 238000002474 experimental method Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/001—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using chaotic signals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/44—Secrecy systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Computing Systems (AREA)
- Evolutionary Computation (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Molecular Biology (AREA)
- Artificial Intelligence (AREA)
- Computer Networks & Wireless Communication (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioethics (AREA)
- Computer Hardware Design (AREA)
- Multimedia (AREA)
- Storage Device Security (AREA)
- Facsimile Transmission Control (AREA)
Abstract
The invention relates to an image encryption algorithm based on a memristor chaotic neural network and improved Logistic chaotic mapping. According to the updated weight value of the chaotic neural network, the method introduces an exponential function exThe novel one-dimensional Logistic chaotic mapping is assigned, and the range of the chaotic random sequence value is adjusted to the range requirement met in different encryption stages through a nonlinear method; and performing pixel-level and bit-level scrambling operations on the plaintext by adopting a sorting algorithm on the corresponding replacement number group of the chaotic sequence, and finally performing two forward and reverse diffusion operations on the intermediate ciphertext by using two different groups of chaotic sequences to complete final encryption. Experiments show thatThe obtained chaotic sequence has good randomness, and the obtained ciphertext image can resist typical attacks, thereby achieving the effect of safe communication.
Description
Technical Field
The invention relates to the technical field of encryption, in particular to an image encryption algorithm based on a memristor chaotic neural network and improved Logistic chaotic mapping.
Background
With the development of computer network technology, images are widely used as an information carrier. However, due to the characteristics of large information amount and high redundancy, the security of the system also becomes a more and more concern of people. Because the traditional encryption algorithms, such as AES, DES, etc., for encrypting texts, have been completely unable to meet the requirements for encrypting images.
With the introduction of the chaos concept, the characteristics of the chaos mapping function such as sensitivity to initial values, pseudo-randomness, non-periodicity and the like are widely applied to the use of a random sequence generator. In recent years, the development of chaotic random sequences has led researchers to research chaotic encryption algorithms, and the randomness requirement of image encryption algorithms on key sequences makes chaotic mapping a new technology of encryption algorithms.
Disclosure of Invention
The invention aims to provide an image encryption algorithm based on a memristor chaotic neural network and improved Logistic chaotic mapping; the encryption system uses the weight value updated after the neural network convolves the plaintext image as the initial value of the chaotic system, improves the defect of one-dimensional chaotic mapping, performs double scrambling on pixels, and improves the safety of the encryption algorithm.
The invention adopts the following technical scheme for realizing the purpose:
in order to achieve the purpose, the technical scheme adopted by the invention is that the encryption steps of a double scrambling image encryption algorithm based on a memristor chaotic neural network and improved Logistic chaotic mapping are detailed as follows:
step 1: and completing feature extraction of the input image by the chaotic neural network based on the memristor, and obtaining the updated weight of the full connection layer as a key value of an image encryption algorithm.
Step 2: and the key value is used as an initial value of the improved Logistic chaotic mapping to generate a chaotic random sequence required in the encryption algorithm process.
And step 3: and respectively carrying out pixel level scrambling, bit level scrambling and diffusion stages in the encryption algorithm process by using the chaotic random sequence to finish image encryption.
1. Preferably, the memristor-based chaotic neural network provided by the invention derives a memristor equation according to voltage and current flowing through the memristor, and the resistance value m (t) of the memristor can be expressed as:
according to the characteristics of the memristor, when a small voltage can generate a large electric field, a chaotic field is generated, a Jokularr window function is selected to model the doping drift in the memristor device structure, and the nonlinear characteristic of the memristor is strongest when p is 1, which is expressed as:
f(x)=4x-4x2 (2)
according to the relation between the memristance M (t) and the memristor conductance G (t), after differentiating the time t, an equation about the point-to-point change rate is obtained:
replacing the updated weight value delta w of the neural network with delta G, and combining the memristor and the Chebyshev chaotic polynomial as an activation function of a full connection layer of the convolutional neural network to enable the neural network to be converged quickly, so that the learning efficiency of the neural network is improved;
2. preferably, the improved Logistic chaotic map provided by the invention is improved by introducing an exponential function, as shown in formula (4), so that the randomness of the chaotic map is stronger, and the safety of an encryption algorithm is improved;
3. preferably, the double scrambling encryption algorithm provided by the invention comprises the following specific steps:
step 1: scanning a plaintext image into a one-dimensional plaintext pixel array P;
step 2: in the scrambling stage of the image, a key is used for generating a chaotic random sequence, the chaotic random sequence is sequenced through a sort function to obtain an index array, and pixel-level scrambling is carried out on a plaintext P according to the index array to obtain a scrambled sequence P';
and step 3: using the same method in the step 2, carrying out bit-level scrambling on the scrambled sequence P' to complete double scrambling to obtain a sequence A;
and 4, step 4: in the diffusion stage, mod and xor operators are used, a ciphertext feedback mechanism is introduced, two rounds of forward and reverse opposite diffusion are carried out on the scrambled image, the process is shown as follows, the image encryption is finally completed, and an encrypted image D2 is obtained;
(1) first round diffusion encryption
When the first round of diffusion encryption is carried out, a result A (l) after bit level scrambling is introduced and is used as the input of the first round of diffusion;
when l is equal to 1, the ratio of the total of the two,
when L is more than 1 and less than or equal to L,
(2) second round of diffusion
At the second round of diffusion, the result of the first round of diffusion D1(l) is introduced as input to the second round of diffusion;
when L is equal to L, the compound is,
when L is more than or equal to 1 and less than or equal to L,
has the advantages that:
compared with the prior art, the invention has the beneficial effects that:
(1) the update weight of the memristor-based chaotic neural network is used as a key of an encryption algorithm, the convergence speed of the neural network is considered, and the weights obtained according to different images have differences, so that the encryption algorithm is related to a plaintext;
(2) the chaotic mapping used by the method is the improved Logistic chaotic mapping, and the randomness and the sensitivity to the initial value are improved;
(3) the dual scrambling algorithm used by the invention enables scrambling to change the position of the pixel and the pixel value; the two rounds of diffusion algorithms with opposite forward and reverse directions ensure higher security of the encryption algorithm;
drawings
The invention will be further described with reference to the accompanying drawings.
FIG. 1 is an image encryption flow diagram based on a memristor chaotic neural network and an improved Logistic chaotic map;
FIG. 2 is a diagram of a memristor device architecture;
FIG. 3 is a bifurcation diagram of an improved Logistic chaotic map;
FIG. 4 is an original image
FIG. 5 is an encrypted image
Detailed Description
The following detailed description of the embodiments of the present invention is provided in connection with the accompanying drawings and examples.
Fig. 1 is an encryption flow diagram of the method.
The adopted programming software is Matlab R2018b, and a gray image with the size of 256 multiplied by 256 shown in FIG. 4 is selected as an original image P. The detailed process of encrypting the original image by using the method is described as follows.
Step 1: and inputting a plaintext image and a secret key, and obtaining an updated weight value through a memristor chaotic neural network to be used as the secret key of an encryption algorithm.
Step 2: inputting a secret key, using improved Logistic chaotic mapping, and respectively passing through N0And after + l times of iteration, obtaining a random sequence with the same size as the plain text pixel array, sequencing the random sequence to obtain an index array, and finishing pixel level scrambling of the original image.
And step 3: and (3) finishing bit-level scrambling of the image by using the same method in the step (2) to obtain a scrambled image A.
And 4, step 4: the two rounds of forward and reverse diffusion algorithms on the scrambled array are completed by using the formulas (5-8), and a final image encrypted image D2 is obtained, as shown in FIG. 5.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110148355.5A CN112737765A (en) | 2021-02-03 | 2021-02-03 | Image encryption algorithm based on memristor chaotic neural network and improved Logistic chaotic mapping |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110148355.5A CN112737765A (en) | 2021-02-03 | 2021-02-03 | Image encryption algorithm based on memristor chaotic neural network and improved Logistic chaotic mapping |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112737765A true CN112737765A (en) | 2021-04-30 |
Family
ID=75596784
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110148355.5A Pending CN112737765A (en) | 2021-02-03 | 2021-02-03 | Image encryption algorithm based on memristor chaotic neural network and improved Logistic chaotic mapping |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112737765A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114598782A (en) * | 2022-04-01 | 2022-06-07 | 安徽大学 | An image encryption method and system based on Raspberry Pi and memristive neural network |
CN117114959A (en) * | 2023-09-13 | 2023-11-24 | 山东青橙数字科技有限公司 | An image encryption method based on the key feedback mechanism of multi-parameter one-dimensional chaotic system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103227713A (en) * | 2013-04-01 | 2013-07-31 | 杭州电子科技大学 | Chaotic analog circuit and method for implementing nature exponential |
CN106327414A (en) * | 2016-08-16 | 2017-01-11 | 广东工业大学 | Plaintext feature-based double-chaos image encryption method |
CN109376540A (en) * | 2018-09-11 | 2019-02-22 | 郑州轻工业学院 | An Image Encryption Method Based on Duffing Mapping and Genetic Operation |
CN110443168A (en) * | 2019-07-23 | 2019-11-12 | 华中科技大学 | A kind of Neural Network for Face Recognition system based on memristor |
CN110766595A (en) * | 2019-10-21 | 2020-02-07 | 中国石油大学(华东) | Watermark Encryption and Decryption Algorithm Based on Chaos Neural Network |
CN112084517A (en) * | 2020-09-15 | 2020-12-15 | 郑州轻工业大学 | An Image Encryption Method Based on Chaos Map and Bit-Level Permutation |
-
2021
- 2021-02-03 CN CN202110148355.5A patent/CN112737765A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103227713A (en) * | 2013-04-01 | 2013-07-31 | 杭州电子科技大学 | Chaotic analog circuit and method for implementing nature exponential |
CN106327414A (en) * | 2016-08-16 | 2017-01-11 | 广东工业大学 | Plaintext feature-based double-chaos image encryption method |
CN109376540A (en) * | 2018-09-11 | 2019-02-22 | 郑州轻工业学院 | An Image Encryption Method Based on Duffing Mapping and Genetic Operation |
CN110443168A (en) * | 2019-07-23 | 2019-11-12 | 华中科技大学 | A kind of Neural Network for Face Recognition system based on memristor |
CN110766595A (en) * | 2019-10-21 | 2020-02-07 | 中国石油大学(华东) | Watermark Encryption and Decryption Algorithm Based on Chaos Neural Network |
CN112084517A (en) * | 2020-09-15 | 2020-12-15 | 郑州轻工业大学 | An Image Encryption Method Based on Chaos Map and Bit-Level Permutation |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114598782A (en) * | 2022-04-01 | 2022-06-07 | 安徽大学 | An image encryption method and system based on Raspberry Pi and memristive neural network |
CN117114959A (en) * | 2023-09-13 | 2023-11-24 | 山东青橙数字科技有限公司 | An image encryption method based on the key feedback mechanism of multi-parameter one-dimensional chaotic system |
CN117114959B (en) * | 2023-09-13 | 2024-05-03 | 山东青橙数字科技有限公司 | Image encryption method based on key feedback mechanism of multi-parameter one-dimensional chaotic system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Zhang et al. | A new image encryption algorithm based on non-adjacent coupled map lattices | |
CN110046513B (en) | Plaintext associated image encryption method based on Hopfield chaotic neural network | |
CN105046161B (en) | Color image encrypting method based on DNA dynamic codings | |
CN109376540B (en) | An Image Encryption Method Based on Duffing Mapping and Genetic Operation | |
Bigdeli et al. | A novel image encryption/decryption scheme based on chaotic neural networks | |
Soleymani et al. | A chaotic cryptosystem for images based on Henon and Arnold cat map | |
CN110086601A (en) | Based on the associated Josephus traversing of pixel value and hyperchaotic system image encryption method | |
CN104751401B (en) | A kind of novel Piecewise linear chaotic map image encryption and coding method | |
CN107292184B (en) | Image encryption method, device and key stream generating method and key stream generator | |
CN110535624B (en) | A medical image privacy protection method applied to DICOM format | |
CN110889877A (en) | Image encryption method based on L-F cascade chaos and 3D bit scrambling | |
CN107437266A (en) | Image encryption method based on chaos system Yu DNA chain displacement model | |
CN107659398A (en) | Suitable for Android symmetric encryption method | |
CN112737765A (en) | Image encryption algorithm based on memristor chaotic neural network and improved Logistic chaotic mapping | |
CN107833174B (en) | Image encryption method based on Logistic chaotic system algorithm | |
CN109586895B (en) | Novel color image encryption method | |
CN114579993A (en) | Image encryption method based on quantum key distribution and pixel scrambling | |
CN103871017A (en) | Novel image encryption method based on quantum hash function | |
CN113162754A (en) | Dynamic positioning bidirectional synchronous scrambling and diffusion chaotic image encryption algorithm | |
CN105373739A (en) | Hyperchaotic system based quantum image encryption method | |
Hao et al. | A novel color image encryption algorithm based on the fractional order laser chaotic system and the DNA mutation principle | |
CN112152775B (en) | Image encryption method based on two-dimensional Henon-Chebyshev chaotic mapping and gene operation | |
CN114418066B (en) | Method for constructing hash function with key based on chaotic neural network and enhanced iterative structure | |
CN113468562B (en) | Image block encryption and decryption method based on fusion of hyperchaotic system and neural network mechanism | |
CN112887075B (en) | Encryption method of similar full-connection network image based on plaintext correlation |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20210430 |