CN113612596A - 一种基于超混沌系统的图像自解密方法 - Google Patents
一种基于超混沌系统的图像自解密方法 Download PDFInfo
- Publication number
- CN113612596A CN113612596A CN202110753381.0A CN202110753381A CN113612596A CN 113612596 A CN113612596 A CN 113612596A CN 202110753381 A CN202110753381 A CN 202110753381A CN 113612596 A CN113612596 A CN 113612596A
- Authority
- CN
- China
- Prior art keywords
- image
- scrambling
- chaotic system
- key
- chaotic
- 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
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000000739 chaotic effect Effects 0.000 claims abstract description 30
- 238000009792 diffusion process Methods 0.000 claims abstract description 17
- 239000011159 matrix material Substances 0.000 claims abstract description 7
- 238000007781 pre-processing Methods 0.000 claims 1
- 230000005540 biological transmission Effects 0.000 description 3
- 230000035945 sensitivity Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000005291 chaos (dynamical) Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011160 research 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
-
- 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/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0618—Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
- H04L9/0631—Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms
-
- 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/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/065—Encryption by serially and continuously modifying data stream elements, e.g. stream cipher systems, RC4, SEAL or A5/3
-
- 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/32—Circuits 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/32101—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
- H04N1/32144—Display, 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/32149—Methods relating to embedding, encoding, decoding, detection or retrieval operations
- H04N1/32267—Methods relating to embedding, encoding, decoding, detection or retrieval operations combined with processing of the image
- H04N1/32272—Encryption or ciphering
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Editing Of Facsimile Originals (AREA)
- Image Processing (AREA)
Abstract
本发明属于图像加密领域,特别涉及一种将密钥隐藏在加密图像中的超混沌系统图像加密方法。针对现有的混沌图像加密方法中密钥与密文分开存放可能出现的问题和带来的额外资源开销,提出了一种将密钥隐藏在密文图像中的混沌图像加密方法。该方法首先选取密钥嵌入位置,再将密钥带入混沌系统产生随机序列,决定图像置乱点和置乱方向。完成置乱后,将密钥与图像信息关联得到新的密钥,带入第二个混沌系统,产生混沌扩散矩阵,通过前向扩散和后向扩散混淆图像像素,完成加密。
Description
技术领域
本发明属于图像加密领域,主要是应用在紧急场景下的图像加密方法。
背景技术
图像加密是将有序图像转换成无序图像的信息保护手段。现有的大部分图像加密技术中,加密过程主要包括两个阶段:置乱和扩散。置乱用来打乱像素的排列顺序,使图像杂乱无章;扩散改变像素的值,隐藏图像中的敏感信息。这类方法的核心是设计一种加密机,用来产生随机序列,来打乱像素的排列顺序和改变像素的值,使像素值在像素域中均匀分布,所以加密机产生的随机序列的随机程度很大程度上决定了一个算法的安全性。
使用混沌系统产生随机序列,具有速度快、实现简单等优点。而混沌序列具有的特性与密码学的一些概念存在的许多天然的联系也奠定了混沌理论在信息安全领域的应用基础,一方面,混沌所具有的伪随机性、初值敏感性和众态遍历性等特征,与密码学中的混淆、扩散和雪崩效应具有许多相似之处。另一方面,一些研究人员指出,传统密码系统中存在着的混沌现象在一定程度上保证了信息的安全性。这说明了即使在混沌理论没有被具体提出的时期,加密人员也倾向于将加密系统变得更加“混沌”。因而,混沌密码学从被提出至今一直受到研究人员的密切关注,经过了几十年的发展,研究者或通过对已有混沌模型进行改进,或使用其他手段来提出了新的混沌模型。混沌密码学被不断地发展完善,并在通信工程、生物医药工程、计算机工程、应用数学、语言学等领域都取得大量的研究成果,显示出了广阔的应用前景。
由于图像中包含大量的冗余信息,人眼视觉系统往往只能感知图像中包含的主要信息,而对图像的细节信息变化不够敏感,如对图像平滑区域及边缘变化十分敏感,对纹理及非边缘区域变化不敏感。我们可以利用这种视觉冗余缺陷,将少量的密钥信息替换掉图像的原有信息,而不会对图像造成过大影响。
发明内容
为了针对一些特定场景下的图像加密传输问题,本文提出了一种将密钥嵌入在加密图像中的混沌图像加密方法,该方法包括以下步骤:
载入原始图像,并选择密钥点嵌入位置;
从初始密钥中选择第一个混沌系统的初值,产生随机序列,通过随机序列决定图像置乱点和置乱方向,进行两轮螺旋随机置乱,获取中间密文;
结合第一个混沌系统产生的随机序列,对第二个混沌系统的初值进行处理;
将处理好的初值带入混沌系统中迭代2000+m*n/2次,m和n为原图像的尺寸,生成四个随机序列后,对四个随机序列进行处理,合并成两个随机序列用于像素扩散;
对中间密文进行前向扩散和后向扩散,完成整个加密过程。
当前的大部分图像加密算法将密钥与图像分开传输,这是基于攻击者已知加密方法前提下所做的考虑,保证了密钥或密文的泄露不会对整个加密系统造成太大的影响。虽然这类方法可能足够安全能够抵御各种常见的攻击手段,但是密钥的传输又会产生其他的安全问题,造成了大量的额外资源开销。在一些特定场景中,可能也会出现加密图像已经传输完成,而密钥由于网络问题或受到攻击等原因传输失败,造成加密图像无法解密的尴尬情形。针对这种问题,本文提出了一种混沌图像加密方法,将密钥嵌入到加密图像中,就算密文图像被攻击者截取,只要加密算法未被泄露,那么攻击者就只能得到一副杂乱无章的图像,有效防止了敏感信息的泄露。只要密文图像传输成功,就不用再考虑密钥的问题。
附图说明
图1是方法总体流程图。
具体实施方式
下面将结合本发明实施例,对本发明实施例中的技术方案进行清楚、完整地描述。
第一步:选取密钥嵌入位置,嵌入位置可以根据需要变动,本文选择图像的四个顶点作为密钥嵌入位置。将图像四个顶点边缘的像素按顺序编号1-8,作为八个起始置乱点集。
第二步:在四个初始密钥中任取两个密钥,带入第一个混沌系统迭代,得到一段随机序列C1,在其中取十六个随机值,八个一组分成两组,排列大小后得到两组索引序列,每组索引序列取前三个数对应每轮置乱的起始置乱点。然后再取六个随机数,求出平均值作为序列阈值,大于阈值的置为1,小于阈值的置为0,来决定置乱的方向是顺时针还是逆时针,其中1表示顺时针方向,0表示逆时针方向。
第三步:决定起始置乱点和每次置乱的方向后,使用光栅扫描的方式扫描明文像素矩阵。需要注意的是,每次置乱时应该跳过密钥点所在的位置。每次置乱完成后将得到的一维数组重排成原图像大小的矩阵,将三次置乱作为一轮完整的图像置乱,完成第一轮置乱后,再重复一轮置乱,完成图像置乱阶段,得到中间密文图像I’。
第四步:在序列C1中取两个随机数x’,y’和初始密钥中另外两个密钥u,z,按照下式进行处理,得到x0,y0,z0,u0,其中m0是明文图像的像素平均值。
第五步:将x0,y0,z0,u0,作为第二个混沌系统的初始值,迭代 N0+M*N/2次,每个序列都舍弃掉前N0个值,本文中N0=1500。产生四个随机序列C2,C3,C4,C5,将四个序列两两组合,合并成两个长度为M*N的序列C2’,C3’,如下式所示。
C2={C21、C22、C23、...、C2M*N/2}
C3={C31、C32、C33、...、C3M*N/2}
C4={C41、C42、C43、...、C4M*N/2}
C5={C51、C52、C53、...、C5M*N/2}
C2′={C21、C31、C22、...、C3M*N/2}
C3′={C41、C51、C43、...、C5M*N/2}
第六步:使用C2′,C3′产生两个扩散矩阵,使用下式进行前向扩散操作,将每个像素与上一个加密像素进行异或操作,每次扩散都需要跳过密钥像素。
第七步:完成前向扩散操作后,使用下式进行后向扩散操作,将每个像素与下一个像素进行异或操作,使图像中微小的变动扩散到整个加密图像中。
至此,整个图像加密完成。按照本方法加密图像后,不仅能够完全地混淆明文图像包含的所有信息,而且将密钥隐藏在了加密图像中,只要加密图像传输成功就能立即开始解密过程,在保证了加解密高效率的同时也使保证了密钥的可重用性,只有发送者知道密钥。此外,本方法的密钥敏感性极高,任何密钥只要变动10-15就会造成解密失败,表现出了极高的安全性。
显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
Claims (6)
1.一种基于超混沌系统的图像自解密方法其特征在于,包括以下步骤:
载入图像的像素矩阵序列,对载入的像素矩阵序列进行嵌入密钥点的选取,并对像素矩阵进行置乱操作,获取中间密文I’;
迭代第一个混沌系统,产生随机序列,决定置乱的起始点位置、方向和第二个混沌系统的初值;
对将要输入到第二个混沌系统的初值进行预处理,带入混沌系统后,对产生的随机序列进行处理,生成扩散阶段所需要的异或序列;
使用处理后的序列对中间密文图像进行两轮扩散操作,得到包含密钥的最终密文图像。
2.根据权利要求1所述的一种基于超混沌系统的图像自解密方法,其特征在于,对载入的像素矩阵序列进行的两轮置乱包括:
对实验图像进行密钥的随机嵌入,在进行图像加密时需要跳过密钥所在位置;
在图像置乱过程中,在四个初始密钥中任选两个密钥作为第一个离散混沌系统的初值,产生随机数,决定初始置乱点位置和置乱方向;经过一轮随机螺旋置乱后,重新决定初始置乱点位置和置乱方向,再进行一轮图像置乱,完成整个图像置乱过程,得到中间密文I’。
5.根据权利要求1所述的一种基于超混沌系统的图像自解密方法,其特征在于,将处理好的初值带入第二个混沌系统中迭代,把产生的四个序列合并成两个序列。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110753381.0A CN113612596A (zh) | 2021-07-02 | 2021-07-02 | 一种基于超混沌系统的图像自解密方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110753381.0A CN113612596A (zh) | 2021-07-02 | 2021-07-02 | 一种基于超混沌系统的图像自解密方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113612596A true CN113612596A (zh) | 2021-11-05 |
Family
ID=78303944
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110753381.0A Pending CN113612596A (zh) | 2021-07-02 | 2021-07-02 | 一种基于超混沌系统的图像自解密方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113612596A (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113872762A (zh) * | 2021-11-29 | 2021-12-31 | 国网浙江省电力有限公司金华供电公司 | 基于配电终端设备的量子加密通信系统及其使用方法 |
CN114389787A (zh) * | 2021-12-06 | 2022-04-22 | 中南大学 | 一种基于混沌系统的无载体信息隐藏方法、系统及计算机存储介质 |
CN115834791A (zh) * | 2023-02-03 | 2023-03-21 | 徐工汉云技术股份有限公司 | 利用矩阵密钥的图像加解密传输方法和电子设备 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102123026A (zh) * | 2011-04-12 | 2011-07-13 | 南开大学 | 基于混沌与超混沌的两层次视频流媒体加密方法 |
CN107239709A (zh) * | 2017-06-07 | 2017-10-10 | 广东工业大学 | 一种混沌图像加密的方法、装置及系统 |
AU2019100036A4 (en) * | 2019-01-14 | 2019-02-28 | Wenying Wen | A symmetric encryption scheme for color light field image |
CN112261240A (zh) * | 2020-10-20 | 2021-01-22 | 重庆邮电大学 | 一种基于螺旋置乱的超混沌系统图像加密方法 |
-
2021
- 2021-07-02 CN CN202110753381.0A patent/CN113612596A/zh active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102123026A (zh) * | 2011-04-12 | 2011-07-13 | 南开大学 | 基于混沌与超混沌的两层次视频流媒体加密方法 |
CN107239709A (zh) * | 2017-06-07 | 2017-10-10 | 广东工业大学 | 一种混沌图像加密的方法、装置及系统 |
AU2019100036A4 (en) * | 2019-01-14 | 2019-02-28 | Wenying Wen | A symmetric encryption scheme for color light field image |
CN112261240A (zh) * | 2020-10-20 | 2021-01-22 | 重庆邮电大学 | 一种基于螺旋置乱的超混沌系统图像加密方法 |
Non-Patent Citations (3)
Title |
---|
P.ZHANG: "Image Encryption Algorithm of Hyper-chaotic System Based on Spiral Scrambling", 《2020 IEEE INTERNATIONAL SYMPOSIUM ON PRODUCT COMPLIANCE ENGINEERING-ASIA》 * |
汪乐乐;李国东;: "基于游程性序列的双重混沌的图像加密算法", 计算机科学, no. 2 * |
谢国波;罗路天;: "一种新的基于复合混沌的彩色图像加密方案", 计算机应用与软件, no. 12 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113872762A (zh) * | 2021-11-29 | 2021-12-31 | 国网浙江省电力有限公司金华供电公司 | 基于配电终端设备的量子加密通信系统及其使用方法 |
CN113872762B (zh) * | 2021-11-29 | 2022-03-25 | 国网浙江省电力有限公司金华供电公司 | 基于配电终端设备的量子加密通信系统及其使用方法 |
CN114389787A (zh) * | 2021-12-06 | 2022-04-22 | 中南大学 | 一种基于混沌系统的无载体信息隐藏方法、系统及计算机存储介质 |
CN114389787B (zh) * | 2021-12-06 | 2024-05-07 | 中南大学 | 一种基于混沌系统的无载体信息隐藏方法、系统及计算机存储介质 |
CN115834791A (zh) * | 2023-02-03 | 2023-03-21 | 徐工汉云技术股份有限公司 | 利用矩阵密钥的图像加解密传输方法和电子设备 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Mitra et al. | A new image encryption approach using combinational permutation techniques | |
CN113612596A (zh) | 一种基于超混沌系统的图像自解密方法 | |
Li et al. | Improvements of a two-in-one image secret sharing scheme based on gray mixing model | |
CN104200424B (zh) | 基于差值变换的(k,n)有意义图像分存及恢复方法 | |
US20060045309A1 (en) | Systems and methods for digital content security | |
Ahmadian et al. | A novel secret image sharing with steganography scheme utilizing Optimal Asymmetric Encryption Padding and Information Dispersal Algorithms | |
EP1046277A1 (en) | Method for confirming the integrity of an image transmitted with a loss | |
Kumar et al. | Image cryptography with matrix array symmetric key using chaos based approach | |
Azza et al. | Multi-secret image sharing based on elementary cellular automata with steganography | |
CN113099069B (zh) | 基于三维螺旋模型的多图像加密方法 | |
CN113114870B (zh) | 基于三维Zigzag模型的多图像加密方法 | |
AbuTaha et al. | Chaos-based cryptosystems using dependent diffusion: An overview | |
Incze | Pixel Sieve method for secret sharing & visual cryptography | |
Agarwal | A fractal based image cipher using Knuth shuffle method and dynamic diffusion | |
CN110929279A (zh) | 一种基于多涡卷混沌系统的图像加密方法 | |
CN116192362A (zh) | 一种李雅普诺夫指数可调的混沌系统及图像加、解密方法 | |
Zhang et al. | Secret sharing-based chaotic image encryption | |
Bharanivendhan et al. | Visual cryptography schemes for secret image sharing using GAS Algorithm | |
CN104702814A (zh) | 基于三重备份的(k,n)有意义图像分存及恢复方法 | |
CN115643015A (zh) | 数字水印溯源方法 | |
Lalengmawia et al. | Image steganography using advanced encryption standard for implantation of audio/video data | |
Ebrahim et al. | Hybrid model for cloud data security using steganography | |
Maulana et al. | Analysis of multiple data hiding combined coloured visual cryptography and lsb | |
Banu et al. | Secure reversible data hiding technique on textures using double encryption | |
CN116033086B (zh) | 一种基于可逆神经网络的图像隐藏方法 |
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 |
Application publication date: 20211105 |