CN108133447A - A kind of chaos encrypting method of coloured image - Google Patents

A kind of chaos encrypting method of coloured image Download PDF

Info

Publication number
CN108133447A
CN108133447A CN201611090825.2A CN201611090825A CN108133447A CN 108133447 A CN108133447 A CN 108133447A CN 201611090825 A CN201611090825 A CN 201611090825A CN 108133447 A CN108133447 A CN 108133447A
Authority
CN
China
Prior art keywords
image
chaos
scramble
sequence
coloured 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.)
Withdrawn
Application number
CN201611090825.2A
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.)
Qinzhou Jingtong Technology Co Ltd
Original Assignee
Qinzhou Jingtong Technology Co Ltd
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 Qinzhou Jingtong Technology Co Ltd filed Critical Qinzhou Jingtong Technology Co Ltd
Priority to CN201611090825.2A priority Critical patent/CN108133447A/en
Publication of CN108133447A publication Critical patent/CN108133447A/en
Withdrawn legal-status Critical Current

Links

Classifications

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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A kind of chaos encrypting method of coloured image, belongs to encryption technology field, is realized by following steps:Optimize Lorenz chaos sequences;The chaos sequence x ', y ', z after optimization ' is utilized to generate three Scrambling Matrixes, respectively to three components of RGB color image into line shuffle;Block encryption;Scramble coloured image is exported, the three primary colours figure after scramble is synthesized, obtains encrypted image;Decrypted image.Algorithm used in the present invention splits unrest using Px, Py, Pz in the range of spatial domain to coloured image three primary colours, strengthens the intensity of algorithm diffusion, further increases decoding difficulty;Three primary colours component distinguishes scramble, makes encrypted image that color change visually have occurred, image is more difficult to read and understand;Meanwhile the scramble degree of algorithm used in this method is close with the scramble degree of Magic Square Transformation, has good scramble;Stronger anti-attack ability.

Description

A kind of chaos encrypting method of coloured image
Technical field
The present invention relates to encryption technology fields, and in particular to a kind of chaos encrypting method of coloured image.
Background technology
With the rapid development of multimedia technology and Internet technology, people can easily be carried out various by network Exchange, including information such as image, voice, video and texts, the incident peace for how ensureing these information The problem of full property and confidentiality, becomes more and more important.Color Image Processing is the important component of Digital Image Processing, In net torpedo communication, color document image encryption is often referred to.In the Encryption Algorithm to image, people are usual Conventional encryption algorithm, such as the Encryption Algorithm such as DES, RSA are selected, but conventional encryption algorithm does not consider the sea of image data Amount property and cause the complexity of calculating to eventually lead to enciphering rate slack-off.
Chaos phenomenon refers to the process of the certainty occurred in nonlinear dynamic system and similar random, chaotic dynamics It is grown rapidly on this basis, this allows chaos to be used as a kind of new cryptosystem, can be with ciphertext, sound Sound and image data.In recent years, New chaotic image encryption technology is as a kind of digital image encryption technology, increasingly by people's weight Depending on, and achieve many achievements.The principle of chaos encryption be exactly by the chaos sequence that raw information and chaos generator generate into The specific decryption of row is exactly that the chaos sequence that encryption information and chaos generator generate is carried out inverse operation, removes chaotic signal, Make operation, raw information is made to be converted to the condition with similar random noise, so as to be encrypted to digital image file.
Invention content
The present invention provides a kind of image for spreading mapping scramble and being combined with chaos system for above-mentioned problem to be solved Encryption method.
Purpose to realize the present invention, the technical solution adopted in the present invention are:
A kind of chaos encrypting method of coloured image selects the variable generation Scrambling Matrix of three different dimensionals in Lorenz systems It realizes the three-component scrambling encryption to RGB color image respectively, realizes and entire color document image is encrypted, by following steps It realizes:Step 1, optimize Lorenz chaos sequences:When Lorenz systems enter chaos state, one mathematical model of structure:Wherein, x ', y ', z ' three is the real value chaos sequence after optimization;M is control Parameter processed can improve the scrambling of sequence value by it;Round () is takes closest to integer function.
Step 2, three Scrambling Matrixes are generated using the chaos sequence x ', y ', z after optimization ', respectively to RGB color image Three components into line shuffle:
(1) method for generating Scrambling Matrix:Corresponding permutation matrix PM × N is generated using chaos sequence is optimized, to PM × N For, any of which element Pij ∈ [1,2 ..., M × N], and Pij=Pkl, and if only if i=k, j=1.Such as:As M=4, N= 4, P be 4 × 4 matrix, and the chaos sequence being made of optimization chaos sequence 16 real number values of generation is:10.95621370、 10.91248372、 10.57640346、11.0759704、11.62504738、 11.13958961、 10.26628130、 9.10829136、9.53332571、 9.21575219、 9.11570905、 9.19910548、8.87154601、 9.27423505th, 9.85781001,10.94356727, more than sequence is sorted by size, is then identified from 1 to 16, It can obtain sequence:4th, 6,7,3,1,2,8,15,10,12,14,13,16,11,9,5, by rows into 4 × 4 Scrambling Matrix P4 × 4 are:
;(2)Scramble rule:Using non-linear permutation method, by image IM × N, N and scramble square Battle array PM, IV element correspond.Element in IM × N is corresponded into element in PM × N into line shuffle, such as image to 4 × 4 I4 × 4 are according to P4x4 matrixes above into line shuffle, and the 1st element in I moves on to the 4th element position, and the 2nd element moves on to 6th element position ..., detailed process are:
Step 3, block encryption;By R, G, B3 components of coloured image to be encrypted by 8 × 8 size piecemeals, with 8 × 8 pieces For unit spatial domain scrambling encryption is carried out with Scrambling Matrix Px, Py, Pz respectively.
Step 4, scramble coloured image is exported, synthesizes the three primary colours figure after scramble to get to encrypted image.
Step 5, after user inputs correct key, by Encryption Algorithm reverse operation, you can obtain decrypted image.
A kind of chaos encrypting method of coloured image provided by the invention, algorithm used use Px, Py in the range of spatial domain, Pz splits unrest to coloured image three primary colours, strengthens the intensity of algorithm diffusion.If taking attack with known plaintext, decryption work amount is high Up to 3 × (M × N)!, further increase decoding difficulty;In addition, three primary colours component distinguishes scramble, it is each coloured image has been obscured The R of pixel, G, B three-components make encrypted image that color change visually have occurred, and image is more difficult to read and understand;Meanwhile this method institute It is close with the scramble degree of Magic Square Transformation with the scramble degree of algorithm, there is good scramble;Stronger anti-attack ability.
Specific embodiment
The following implementation to the present invention is further described, so that those skilled in the art can be better understood from simultaneously Implement.
Embodiment 1
A kind of chaos encrypting method of coloured image, is realized by following steps:Step 1, optimize Lorenz chaos sequences:When Lorenz systems enter chaos state, build a mathematical model:Its In, x ', y ', z ' three is the real value chaos sequence after optimization;M parameters in order to control, not advising for sequence value can be improved by it Then property;Round () is takes closest to integer function.
Step 2, three Scrambling Matrixes are generated using the chaos sequence x ', y ', z after optimization ', respectively to RGB color image Three components into line shuffle:
(1) method for generating Scrambling Matrix:Corresponding permutation matrix PM × N is generated using chaos sequence is optimized, to PM × N For, any of which element Pij ∈ [1,2 ..., M × N], and Pij=Pkl, and if only if i=k, j=1.Such as:As M=4, N= 4, P be 4 × 4 matrix, and the chaos sequence being made of optimization chaos sequence 16 real number values of generation is:10.95621370、 10.91248372、 10.57640346、11.0759704、11.62504738、 11.13958961、 10.26628130、 9.10829136、9.53332571、 9.21575219、 9.11570905、 9.19910548、8.87154601、 9.27423505th, 9.85781001,10.94356727, more than sequence is sorted by size, is then identified from 1 to 16, It can obtain sequence:4th, 6,7,3,1,2,8,15,10,12,14,13,16,11,9,5, by rows into 4 × 4 Scrambling Matrix P4 × 4 are:
;(2)Scramble rule:Using non-linear permutation method, by image IM × N, N and scramble square Battle array PM, IV element correspond.Element in IM × N is corresponded into element in PM × N into line shuffle, such as image to 4 × 4 I4 × 4 are according to P4x4 matrixes above into line shuffle, and the 1st element in I moves on to the 4th element position, and the 2nd element moves on to 6th element position ..., detailed process are:
Step 3, block encryption;By R, G, B3 components of coloured image to be encrypted by 8 × 8 size piecemeals, with 8 × 8 pieces For unit spatial domain scrambling encryption is carried out with Scrambling Matrix Px, Py, Pz respectively.
Step 4, scramble coloured image is exported, synthesizes the three primary colours figure after scramble to get to encrypted image.
Step 5, after user inputs correct key, by Encryption Algorithm reverse operation, you can obtain decrypted image.
The above is only embodiments of the present invention, it is noted that those skilled in the art are come It says, without departing from the technical principles of the invention, several improvement and modification can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (4)

1. a kind of chaos encrypting method of coloured image selects the variable generation scramble square of three different dimensionals in Lorenz systems Battle array realizes the three-component scrambling encryption to RGB color image respectively, realizes and entire color document image is encrypted, feature It is, is realized by following steps:Step 1, optimize Lorenz chaos sequences;Step 2, using chaos sequence x ', the y ' after optimization, Z ' generates three Scrambling Matrixes, respectively to three components of RGB color image into line shuffle;Step 3, block encryption;Step 4, Scramble coloured image is exported, synthesizes the three primary colours figure after scramble to get to encrypted image;Step 5, user's input is correct After key, by Encryption Algorithm reverse operation, you can obtain decrypted image.
2. the chaos encrypting method of coloured image as described in claim 1, which is characterized in that step 1 side of specific implementation Method is:When Lorenz systems enter chaos state, one mathematical model of structure: Wherein, x ', y ', z ' three is the real value chaos sequence after optimization;M parameters in order to control, sequence value can be improved not by it Systematicness;Round () is takes closest to integer function.
3. the chaos encrypting method of coloured image as described in claim 1, which is characterized in that the step 2 implements Method is:(1) method for generating Scrambling Matrix:Corresponding permutation matrix PM × N is generated using chaos sequence is optimized, to PM For × N, any of which element Pij ∈ [1,2 ..., M × N], and Pij=Pkl, and if only if i=k, j=1;
4 such as:As M=4, N=4, P are 4 × 4 matrix, the chaos sequence being made of optimization chaos sequence 16 real number values of generation It is classified as:10.95621370、10.91248372、 10.57640346、11.0759704、11.62504738、 11.13958961、 10.26628130、 9.10829136、9.53332571、 9.21575219、 9.11570905、 9.19910548th, 8.87154601,9.27423505,9.85781001,10.94356727, more than sequence is arranged by size Then sequence is identified from 1 to 16, you can obtain sequence:4th, 6,7,3,1,2,8,15,10,12,14,13,16,11,9,5, It is into 4 × 4 Scrambling Matrix P4 × 4 by rows:
;(2)Scramble rule:Using non-linear permutation method, by image IM × N, N and Scrambling Matrix PM, IV element correspond;
Element in IM × N is corresponded into element in PM × N into line shuffle, such as to 4 × 4 image I4 × 4 according to above P4x4 matrixes are into line shuffle, and the 1st element in I moves on to the 4th element position, and the 2nd element moves on to the 6th element position It puts ..., detailed process is:
4. the chaos encrypting method of coloured image as described in claim 1, which is characterized in that step 3 specific method For:By R, G, B3 components of coloured image to be encrypted by 8 × 8 size piecemeals, Scrambling Matrix is used respectively for unit with 8 × 8 pieces Px, Py, Pz carry out spatial domain scrambling encryption.
CN201611090825.2A 2016-12-01 2016-12-01 A kind of chaos encrypting method of coloured image Withdrawn CN108133447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611090825.2A CN108133447A (en) 2016-12-01 2016-12-01 A kind of chaos encrypting method of coloured image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611090825.2A CN108133447A (en) 2016-12-01 2016-12-01 A kind of chaos encrypting method of coloured image

Publications (1)

Publication Number Publication Date
CN108133447A true CN108133447A (en) 2018-06-08

Family

ID=62388134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611090825.2A Withdrawn CN108133447A (en) 2016-12-01 2016-12-01 A kind of chaos encrypting method of coloured image

Country Status (1)

Country Link
CN (1) CN108133447A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993679A (en) * 2018-10-12 2019-07-09 王龙 A kind of digital watermarking encryption method based on vector parameter
CN111970519A (en) * 2020-08-28 2020-11-20 中国人民解放军国防科技大学 Airborne video return method
CN113674365A (en) * 2021-07-06 2021-11-19 广东工业大学 Image block encryption method and system based on chaos and computer generated holography

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130179690A1 (en) * 2012-01-09 2013-07-11 Huaqing Wu Method and apparatus for fast image encryption and invisible digital watermark
CN103491279A (en) * 2013-09-25 2014-01-01 上海理工大学 4-neighborhood exclusive or image encryption method based on hyper-chaos Lorenz system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130179690A1 (en) * 2012-01-09 2013-07-11 Huaqing Wu Method and apparatus for fast image encryption and invisible digital watermark
CN103491279A (en) * 2013-09-25 2014-01-01 上海理工大学 4-neighborhood exclusive or image encryption method based on hyper-chaos Lorenz system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵怀勋等: "一种彩色图像的混沌加密算法", 《计算机应用与软件》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993679A (en) * 2018-10-12 2019-07-09 王龙 A kind of digital watermarking encryption method based on vector parameter
CN109993679B (en) * 2018-10-12 2020-11-10 深圳市易图资讯股份有限公司 Digital watermark encryption method based on vector parameters
CN111970519A (en) * 2020-08-28 2020-11-20 中国人民解放军国防科技大学 Airborne video return method
CN111970519B (en) * 2020-08-28 2021-06-15 中国人民解放军国防科技大学 Airborne video return method
CN113674365A (en) * 2021-07-06 2021-11-19 广东工业大学 Image block encryption method and system based on chaos and computer generated holography
CN113674365B (en) * 2021-07-06 2023-06-23 广东工业大学 Image blocking encryption method and system based on chaos and calculation hologram

Similar Documents

Publication Publication Date Title
CN109660696B (en) New image encryption method
CN105513002B (en) A kind of image encryption method
Liu et al. Cryptanalysis and improvement in a plaintext-related image encryption scheme based on hyper chaos
CN103440613B (en) The color image encrypting method of hyperchaos Rossler system
CN107392970B (en) Digital image encryption method based on bit plane and high-dimensional chaotic system
CN106296561A (en) Image encryption method based on hyperchaotic system and device, decryption method and device
Anbarasi et al. Secured secret color image sharing with steganography
CN110535624A (en) A kind of medical image method for secret protection applied to DICOM format
Alabaichi Color image encryption using 3D chaotic map with AES key dependent S-Box
Singh et al. Image encryption scheme based on Knight's tour problem
CN108133447A (en) A kind of chaos encrypting method of coloured image
Ramírez-Torres et al. Image encryption with an improved cryptosystem based on a matrix approach
Nayak et al. A secure and efficient color image encryption scheme based on two chaotic systems and advanced encryption standard
CN109586895B (en) Novel color image encryption method
El Bourakkadi et al. Improved Vigenere approach incorporating pseudorandom affine functions for encrypting color images.
Pandey et al. Particle swarm optimization in cryptanalysis of DES
Kumar et al. Image encryption using simplified data encryption standard (S-DES)
Hasnat et al. A novel image encryption algorithm using pixel shuffling and pixel intensity reversal
El Abbadi et al. Digital RGB image encryption based on 2D cat map and shadow numbers
Saraireh et al. Image encryption scheme based on filter bank and lifting
Ye et al. An image encryption scheme based on chaotic systems with changeable parameters
Fu et al. A fast chaos-based colour image encryption algorithm using a hash function
Xian et al. Image encryption algorithm based on chaos and S-boxes scrambling
He et al. Cryptography based on Spatiotemporal Chaos System and Multiple Maps.
Chen et al. An image encryption algorithm based on SM4 and Base64

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20180608

WW01 Invention patent application withdrawn after publication