CN113852456A - Image encryption system based on Matlab chaotic mapping and feature extraction - Google Patents

Image encryption system based on Matlab chaotic mapping and feature extraction Download PDF

Info

Publication number
CN113852456A
CN113852456A CN202111116706.0A CN202111116706A CN113852456A CN 113852456 A CN113852456 A CN 113852456A CN 202111116706 A CN202111116706 A CN 202111116706A CN 113852456 A CN113852456 A CN 113852456A
Authority
CN
China
Prior art keywords
image
module
plaintext
chaotic
encryption
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
Application number
CN202111116706.0A
Other languages
Chinese (zh)
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.)
Anhui University of Science and Technology
Original Assignee
Anhui University of Science and Technology
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 Anhui University of Science and Technology filed Critical Anhui University of Science and Technology
Priority to CN202111116706.0A priority Critical patent/CN113852456A/en
Publication of CN113852456A publication Critical patent/CN113852456A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/001Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using chaotic signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • H04N1/32149Methods relating to embedding, encoding, decoding, detection or retrieval operations
    • H04N1/32267Methods relating to embedding, encoding, decoding, detection or retrieval operations combined with processing of the image
    • H04N1/32272Encryption or ciphering

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

An image encryption system based on Matlab chaotic mapping and feature extraction comprises an image information extraction module (1), an image preprocessing module (2), a stream key generation module (3), a plaintext image encryption module (4) and a ciphertext image decryption module (5). The image information extraction module (1) extracts a hash value of a plaintext image, and obtains a corresponding hash value through a hash function. The image preprocessing module (2) extracts and decomposes channels of the plaintext image, and then performs corresponding position replacement. And the stream key generation module (3) determines a final parameter and an initial value according to the given initial value and the calculated corresponding hash value to obtain the chaotic sequence. And the plaintext image encryption module (4) performs exclusive OR on the processed plaintext image and the chaotic sequence, and obtains a final ciphertext image through diffusion operation.

Description

Image encryption system based on Matlab chaotic mapping and feature extraction
Technical Field
The invention relates to the field of image encryption, in particular to an image encryption system based on Matlab chaotic mapping and characteristic extraction.
Background
In the field of conventional image encryption, AES and DES encryption means are often used to encrypt images. The technology usually needs S-box and 64 rounds of iterative operations, has a good encryption effect on text information, but because a color image has a larger data volume and more pixel information, the traditional method is time-consuming and difficult to achieve the expected encryption requirement. Therefore, the chaos mapping-based image encryption system is provided, and after parameters and initial values of the system are determined, the chaos system can generate a large number of random sequences which have extremely high sensitivity and randomness and can be used in the field of image encryption. And secondly, the generation of the chaotic sequence does not occupy a lot of resources, so that the system is suitable for encrypting a lot of images transmitted by a network, and the aim of safely transmitting the images on a communication channel is fulfilled.
Disclosure of Invention
The invention aims to provide an image encryption system based on Matlab chaotic mapping and characteristic extraction. The method aims to solve the problems of long encryption time and unsatisfactory encryption effect of image encryption. The color image is encrypted based on the chaos sequence generated by the chaos mapping, so that the encryption system has the advantages of short encryption time, good encryption effect and the like.
The invention adopts the following technical scheme for realizing the purpose:
an image encryption system based on Matlab chaotic mapping and feature extraction. The system firstly carries out preprocessing on the encrypted color plaintext image, and the preprocessing specifically comprises channel extraction of each part of an RGB image, decomposition of each channel and diffusion operation of the plaintext image, so that the encryption on a bit plane has better security. And then obtaining the abstract of the plaintext image according to SHA-256, combining the hash value with a given parameter to calculate the parameter and the initial value of the chaotic mapping system, and then performing iterative operation according to the parameter and the initial value to obtain a random sequence. And carrying out encryption operation on the image according to the obtained random sequence to obtain a final ciphertext image. And finally, writing a GUI interface and outputting an exe file through Visual Basic.
Preferably, the present invention provides an image preprocessing module, which can extract and decompose an RGB image to obtain a corresponding bit plane, and then perform a replacement operation on the bit plane. The correlation among the pixels of the processed plaintext image is stronger, namely the change of the current pixel value can affect a plurality of pixels, and the processed plaintext image can have good ciphertext characteristics in the encryption process;
preferably, the invention provides a stream key generation module, which can perform combination and corresponding operation according to the abstract content of the plaintext image and the given parameters, and firstly generate the parameters and the initial values of the chaotic system. And obtaining a chaotic random sequence as the input of the chaotic system according to the parameter and the initial value, and encrypting the plaintext image by using the sequence. By using the method, the obtained encryption sequence can have good correlation with a plaintext image, and different images can have different keys, so that the defect of the traditional encryption mode is overcome;
preferably, the invention provides a plaintext image encryption module, which performs exclusive or operation on the determined chaotic random sequence and the preprocessed plaintext image to obtain a preliminary ciphertext image. Then, the ciphertext image is subjected to diffusion operation, namely the current pixel is determined by a plurality of pixel parts, so that the change of one pixel value can affect other pixel values, and the ciphertext image has higher safety;
preferably, the present invention provides a decryption module. According to the given correct parameters, an encrypted chaotic sequence can be obtained, and the sequence and the ciphertext image are subjected to XOR operation to obtain a correct plaintext image;
compared with the existing encryption scheme, the invention has the beneficial effects that: the encryption time is short, the key has strong correlation with the plaintext image, the one-time pad is realized, the cost is low, and the encryption effect is good.
Drawings
Fig. 1 is a flowchart of an image encryption system based on Matlab chaotic mapping and feature extraction.
Fig. 2 is a decomposition of a bit plane for a plaintext image.
Fig. 3 is an image based on encryption and decryption of the system.
Detailed Description
The invention is further illustrated by the following specific examples.
(1) The experimental data is from the babon image, which is first preprocessed to extract R, G, B channels, and then bit-plane decomposed for each channel, as shown in fig. 2. And then, according to the chaotic system, the positions of the chaotic system are transformed to obtain 24 bit planes after transformation.
(2) According to the hash value obtained from the plaintext image, the 256-bit hash values are divided into 32 groups, each group has 8 bits, and the hash value and the given initial value are combined to perform operation to obtain the final parameter and initial value. And substituting the obtained parameters and initial values into the chaotic system, and performing iterative operation to obtain a plurality of groups of chaotic sequences.
(3) And carrying out exclusive OR operation on the obtained chaotic sequence and the 24 bit planes to obtain 24 encrypted bit planes.
(4) The 24 encrypted bit planes are subjected to a spreading operation. In a certain order, the current pixel value is determined by the key sequence, the previous pixel value and the other pixel parts. I.e. a change of one pixel value may affect the individual pixel values of the full picture.
(5) And merging the processed bit planes encrypted by each part to obtain a final complete ciphertext image.
(6) In the decryption stage, the ciphertext image is decomposed, and the inverse process of diffusion operation is carried out to obtain a bit plane of the ciphertext image. And performing exclusive OR operation on the encrypted sequence according to the correct encrypted sequence to obtain a decrypted image, and combining the parts to obtain a final plaintext image.
While the embodiments of the present invention have been described in detail with reference to the drawings, the present invention is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present invention within the knowledge of those skilled in the art.

Claims (6)

1. An image encryption system based on Matlab chaotic mapping and characteristic extraction comprises an image information extraction module (1), an image preprocessing module (2), a stream key generation module (3), a plaintext image encryption module (4) and a ciphertext image decryption module (5), and encryption at a sending end and decryption at a receiving end can be realized after a plaintext image is brought into the system.
2. The image information extraction module (1) according to claim 1, characterized by: and (3) operating the plaintext image, and extracting the characteristic value of the plaintext image by using an SHA-256 hash function to obtain 256-bit data, wherein the data has uniqueness and correlation of the plaintext image and is used as an initial value for generating the chaotic system.
3. The image pre-processing module (2) according to claim 1, characterized by: the color image is firstly mixed and diffused, and then the color image is subjected to channel extraction and decomposition operation to obtain 24 bit planes.
4. The stream key generation module (3) according to claim 1, characterized by: and obtaining a 256-bit hash value as an initial value of the chaotic function, and performing repeated iteration operation to eliminate the transient effect of the chaotic function to obtain a random sequence. The selection of the chaotic function can use Lorenz chaotic system and Chen chaotic system.
5. The plaintext image encryption module (4) according to claim 1, wherein: and carrying out encryption XOR operation on the preprocessed image and the obtained random sequence to obtain an expected ciphertext image.
6. The ciphertext decryption image decryption module (5) of claim 1, wherein: after the receiving end obtains the ciphertext image, after the ciphertext image passes through the receiving equipment with the secret key, the ciphertext image and the random sequence are subjected to exclusive or operation again to obtain a correct plaintext image.
CN202111116706.0A 2021-09-23 2021-09-23 Image encryption system based on Matlab chaotic mapping and feature extraction Pending CN113852456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111116706.0A CN113852456A (en) 2021-09-23 2021-09-23 Image encryption system based on Matlab chaotic mapping and feature extraction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111116706.0A CN113852456A (en) 2021-09-23 2021-09-23 Image encryption system based on Matlab chaotic mapping and feature extraction

Publications (1)

Publication Number Publication Date
CN113852456A true CN113852456A (en) 2021-12-28

Family

ID=78978978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111116706.0A Pending CN113852456A (en) 2021-09-23 2021-09-23 Image encryption system based on Matlab chaotic mapping and feature extraction

Country Status (1)

Country Link
CN (1) CN113852456A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401352A (en) * 2022-01-14 2022-04-26 重庆邮电大学 Image encryption and decryption method based on two-dimensional discrete chaotic mapping and matrix half tensor product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108133445A (en) * 2016-12-01 2018-06-08 钦州市晶通科技有限公司 A kind of image encryption method for spreading mapping scramble and being combined with chaos system
US20180165466A1 (en) * 2015-05-20 2018-06-14 Board Of Regents, The University Of Texas System Systems and methods for secure file transmission and cloud storage
CN108229194A (en) * 2018-01-18 2018-06-29 东北大学 Method for Digital Image Scrambling based on multithreading model and multistage scramble
CN112084517A (en) * 2020-09-15 2020-12-15 郑州轻工业大学 Image encryption method based on chaotic mapping and bit-level permutation
CN113225449A (en) * 2021-05-27 2021-08-06 郑州轻工业大学 Image encryption method based on chaos sequence and DNA coding
CN113297606A (en) * 2021-06-25 2021-08-24 燕山大学 Color quantum image encryption and decryption method based on multiple chaos and DNA operation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180165466A1 (en) * 2015-05-20 2018-06-14 Board Of Regents, The University Of Texas System Systems and methods for secure file transmission and cloud storage
CN108133445A (en) * 2016-12-01 2018-06-08 钦州市晶通科技有限公司 A kind of image encryption method for spreading mapping scramble and being combined with chaos system
CN108229194A (en) * 2018-01-18 2018-06-29 东北大学 Method for Digital Image Scrambling based on multithreading model and multistage scramble
CN112084517A (en) * 2020-09-15 2020-12-15 郑州轻工业大学 Image encryption method based on chaotic mapping and bit-level permutation
CN113225449A (en) * 2021-05-27 2021-08-06 郑州轻工业大学 Image encryption method based on chaos sequence and DNA coding
CN113297606A (en) * 2021-06-25 2021-08-24 燕山大学 Color quantum image encryption and decryption method based on multiple chaos and DNA operation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
梁颖;张绍武;: "位级同步置乱扩散和像素级环形扩散图像加密算法", 中国图象图形学报, no. 06 *
薛香莲;: "一种新的基于超混沌映射的彩色图像加密算法", 计算机应用与软件, no. 08 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401352A (en) * 2022-01-14 2022-04-26 重庆邮电大学 Image encryption and decryption method based on two-dimensional discrete chaotic mapping and matrix half tensor product
CN114401352B (en) * 2022-01-14 2023-08-25 重庆邮电大学 Image encryption and decryption method based on two-dimensional discrete chaotic mapping and matrix half tensor product

Similar Documents

Publication Publication Date Title
WO2018153317A1 (en) Chaotic map-based digital chaotic encryption method
Singh et al. Image encryption and decryption using blowfish algorithm in MATLAB
CN109005027B (en) Random data encryption and decryption method, device and system
CN108123794A (en) The generation method and encryption method of whitepack key, apparatus and system
CN108924594B (en) Video encryption method based on hyperchaotic system
Huang et al. A novel structure with dynamic operation mode for symmetric-key block ciphers
CN111884802B (en) Media stream encryption transmission method, system, terminal and electronic equipment
CN111600661B (en) Three-dimensional encryption OFDM optical system based on real-time updated chaotic key distribution
CN113852456A (en) Image encryption system based on Matlab chaotic mapping and feature extraction
JP2003516659A (en) One's complement crypto combiner
Karolin et al. Encryption and decryption of color images using visual cryptography
CN108494554B (en) Data symmetric encryption method based on double plaintexts
Xingyuan et al. Cracking and improvement of an image encryption algorithm based on bit-level permutation and chaotic system
Raj et al. An expeditious chaos based digital image encryption algorithm
Kareem et al. New modification on feistel DES algorithm based on multi-level keys
CN112637442B (en) Method and device for encrypting circulating images by cloud server and local end
Chen et al. An image encryption algorithm based on SM4 and Base64
Al-Sabaawi Cryptanalysis of Stream Cipher: Method Implementation
CN111130755B (en) Matrix double encryption method based on signature
Kalaichelvi et al. Implementation of Hybrid Cryptography in Steganography for Augmented Security
Wang et al. Attack to an image encryption based on chaotic Logistic map
Ping et al. A two-dimensional cellular automata based method for multiple image
Kevadia et al. A literature survey on image encryption
Asim et al. Hybrid chaotic image encryption scheme based on S-box and ciphertext feedback
Temur et al. COMPARISON OF STEGANOGRAPHY ALGORITHMS WHICH ARE BASED ON CRYPTOGRAPHY

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