CN111460487B - 基于预存储和三维Arnold变换的彩色图像快速加密方法 - Google Patents

基于预存储和三维Arnold变换的彩色图像快速加密方法 Download PDF

Info

Publication number
CN111460487B
CN111460487B CN202010362683.0A CN202010362683A CN111460487B CN 111460487 B CN111460487 B CN 111460487B CN 202010362683 A CN202010362683 A CN 202010362683A CN 111460487 B CN111460487 B CN 111460487B
Authority
CN
China
Prior art keywords
transformation
image
encryption
new
dimensional arnold
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.)
Active
Application number
CN202010362683.0A
Other languages
English (en)
Other versions
CN111460487A (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.)
China University of Mining and Technology CUMT
Original Assignee
China University of Mining and Technology CUMT
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 China University of Mining and Technology CUMT filed Critical China University of Mining and Technology CUMT
Priority to CN202010362683.0A priority Critical patent/CN111460487B/zh
Publication of CN111460487A publication Critical patent/CN111460487A/zh
Application granted granted Critical
Publication of CN111460487B publication Critical patent/CN111460487B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Facsimile Transmission Control (AREA)
  • Storage Device Security (AREA)

Abstract

为提高图像加密效率,受著名的外部设备联机并行操作(Simultaneous Peripheral Operations On‑Line,Spooling)系统启发,采取空间换时间的思想,设计了一种基于预存储和三维Arnold变换的彩色图像快速加密方法。在加密前,预计算周期T个新变换矩阵,并将其分别保存到T个文本文件中。在加密时,从第t∈[1,T‑1]个文本文件中读取对应的新变换矩阵,并对原始图像进行一次新三维Arnold变换,可得加密图像。实验表明:该方法操作简单,易于实现,可明显提高图像加密效率。

Description

基于预存储和三维Arnold变换的彩色图像快速加密方法
技术领域
本发明涉及加密技术领域,具体涉及一种基于预存储和三维Arnold变换的彩色图像快速加密方法。
背景技术
信息时代下,无时无刻都有大量数据和信息的共享与使用,数据的假冒、泄露、篡改等问题屡见不鲜,人们对信息安全越来越重视。据统计分析,在人类获取的信息中有75%来自图像信息。因此,研究高效、安全的图像加密方法意义重大。
图像加密方法通常对加密效率要求较高,而对存储空间开销即占用的存储空间大小要求不高。
Arnold变换是一种常用的加密方法,具有周期性。然而,它计算量大,特别是当选取迭代次数较大时,会导致加密效率很低。基于此,受著名的外部设备联机并行操作(Simultaneous Peripheral Operations On-Line,Spooling)系统启发,利用空间换时间的思路来提高Arnold变换的效率。
发明内容
本发明的目的:针对图像加密方法效率低和耗时长的问题,提出一种基于预存储和三维Arnold变换的彩色图像快速加密方法。
本发明的技术方案:为实现上述发明目的,采用的技术方案为一种基于预存储和三维Arnold变换的彩色图像快速加密方法,加密步骤详述如下:
步骤1:计算变换周期:令原始图像为一幅RGB图像 I,红、绿和蓝分量分别为 R={ r}, G={ g}和 B={ b},计算:
, (1)
其中,为变换矩阵, r 1g 1b 1分别为变换后的 RGB值;从集合{0, 1, …, 255}中任取三个数分别作为 rgb的值,利用公式(1)反复迭代数次,当迭代结果与 rgb数值完全相同时,此迭代次数即为三维Arnold变换的周期 T
步骤2:计算新变换矩阵:
B k =A k  mod 256, k=1, 2, …,  T, (2)
可得 T个新变换矩阵 B 1B 2, …,  B T
步骤3:存储新变换矩阵:将 B 1B 2, …,  B T 的元素值分别保存到 T个文本文件中;
步骤4:选取迭代次数:随机选取任一整数 t∈[1,  T-1]作为此次加密的迭代次数;
步骤5:图像扩散:从第 t个文本文件中读取新变换矩阵 B t ,对原始图像 I进行一次新三维Arnold变换,可得加密图像 J
进一步地,所述步骤5中,新三维Arnold变换指:
, (3)。
进一步地,利用数学归纳法,公式(3)的推导为:
证明:当 n=1时,由公式(1)和(2)可知,显然成立;
假设 n= t时成立,则有
n= t+1时,根据三维Arnold变化定义得:
因为
所以
根据公式(2)可得: A= B
所以当 n= t+1时,公式(3)成立;
因此,根据数学归纳法,可知公式(3)等价为 t次三维Arnold变换成立。
附图说明
图1:基于预存储和三维Arnold变换的彩色图像快速加密流程图;
图2:原始图像;
图3:加密图像。
具体实施方式
下面结合具体附图和实例对本发明的实施过程进一步详细说明。
图1是本方法的加密流程图。
采用的编程软件为Matlab R2019a,选取图2所示的大小为512×512的彩色图像作为原始图像 I。采用本方法,对原始图像加密的详细过程描述如下。
 步骤1:计算变换周期:选取 rgb的值分别为1, 1, 0,利用公式(1)反复迭代数次,可得三维Arnold变换的周期 T=448。
 步骤2:计算新变换矩阵:根据公式(2),可得448个新变换矩阵 B  1B  2, …,  B   448
 步骤3:存储新变换矩阵:将 B  1B  2, …,  B  448的元素值分别保存到448个文本文件中。
步骤4:选取迭代次数:选取 t=348作为此次加密的迭代次数。
步骤5:图像扩散:从第348个文本文件中读取新变换矩阵 B 348,对原始图像 I进行一次新三维Arnold变换(即公式(3)),即348次原三维Arnold变换(即公式(1)),可得加密图像 J,如图3所示。

Claims (2)

1.基于预存储和三维Arnold变换的彩色图像快速加密方法,其特征在于,加密过程如下:
步骤1:计算变换周期:令原始图像为一幅RGB图像I,红、绿和蓝分量分别为R={r}, G={g}, B={b},计算:
 (1)
其中,为变换矩阵,r 1g 1b 1分别为变换后的RGB值;从集合{0,1, …, 255}中任取三个数分别作为rgb的值,利用公式(1)反复迭代数次,当迭代结果与rgb数值完全相同时,此迭代次数即为三维Arnold变换的周期T
步骤2:计算新变换矩阵:
B k =A mod 256,k=1, 2, …, T (2)
可得T个新变换矩阵B 1B 2, …, B T
步骤3:存储新变换矩阵:将B 1B 2, …, B T 的元素值分别保存到T个文本文件中;
步骤4:选取迭代次数:随机选取任一整数t∈[1, T-1]作为此次加密的迭代次数;
步骤5:图像扩散:从第t个文本文件中读取新变换矩阵B t ,对原始图像I进行一次新三维Arnold变换,可得加密图像J
2.根据权利要求1所述的方法,其特征在于:所述步骤5中,新三维Arnold变换指:
 (3)。
CN202010362683.0A 2020-04-30 2020-04-30 基于预存储和三维Arnold变换的彩色图像快速加密方法 Active CN111460487B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010362683.0A CN111460487B (zh) 2020-04-30 2020-04-30 基于预存储和三维Arnold变换的彩色图像快速加密方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010362683.0A CN111460487B (zh) 2020-04-30 2020-04-30 基于预存储和三维Arnold变换的彩色图像快速加密方法

Publications (2)

Publication Number Publication Date
CN111460487A CN111460487A (zh) 2020-07-28
CN111460487B true CN111460487B (zh) 2023-04-07

Family

ID=71680380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010362683.0A Active CN111460487B (zh) 2020-04-30 2020-04-30 基于预存储和三维Arnold变换的彩色图像快速加密方法

Country Status (1)

Country Link
CN (1) CN111460487B (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113099234B (zh) * 2021-04-09 2022-04-19 中国矿业大学 基于预计算的dna快速编码方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455971A (zh) * 2013-09-04 2013-12-18 上海理工大学 三维Arnold变换和混沌序列结合的图像加密方法
CN107169911A (zh) * 2016-11-28 2017-09-15 黄宗美 一种基于二维Arnold变换的图像加密方法
CN107220923A (zh) * 2017-02-14 2017-09-29 陕西师范大学 基于映像网络的数字图像反馈加密方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455971A (zh) * 2013-09-04 2013-12-18 上海理工大学 三维Arnold变换和混沌序列结合的图像加密方法
CN107169911A (zh) * 2016-11-28 2017-09-15 黄宗美 一种基于二维Arnold变换的图像加密方法
CN107220923A (zh) * 2017-02-14 2017-09-29 陕西师范大学 基于映像网络的数字图像反馈加密方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
韩峤磊.数字图像Arnold变换的快速算法.福建电脑.2016,第32卷(第10期),全文. *

Also Published As

Publication number Publication date
CN111460487A (zh) 2020-07-28

Similar Documents

Publication Publication Date Title
CN103975302B (zh) 矩阵乘法累加指令
Lima et al. Audio encryption based on the cosine number transform
CN107317666B (zh) 一种支持浮点运算的并行全同态加解密方法
CN103744976B (zh) 一种基于同态加密的图像安全检索方法
EP3627764B1 (en) Method and apparatus to process sha-2 secure hashing algorithm
Blatt et al. Optimized homomorphic encryption solution for secure genome-wide association studies
Wang et al. Multi-channel chaotic encryption algorithm for color image based on DNA coding
Hu et al. Batch image encryption using generated deep features based on stacked autoencoder network
US20170063526A1 (en) System and Method for Private-Key Fully Homomorphic Encryption and Private Search Between Rings
CN103503362A (zh) 数据处理装置、数据处理方法以及程序
CN111460487B (zh) 基于预存储和三维Arnold变换的彩色图像快速加密方法
Angelou et al. Asymmetric private set intersection with applications to contact tracing and private vertical federated machine learning
CN108632031A (zh) 密钥生成装置及方法、加密装置及方法
CN104011732B (zh) 双合成域高级加密标准存储器加密引擎
An et al. Highly efficient implementation of block ciphers on graphic processing units for massively large data
CN103559678B (zh) 一种shp线面图层数据的置乱与还原方法
KR20230141045A (ko) 암호 프로세서 장치 및 이를 채용하는 데이터 처리 장치
Zhao et al. VFLR: An efficient and privacy-preserving vertical federated framework for logistic regression
CN111460488B (zh) 基于预存储和n维Arnold变换的多图像快速加密方法
CN111478766B (zh) 一种分组密码meg实现方法、装置及存储介质
Zhang et al. Color image encryption algorithm based on dynamic block Zigzag transformation and six-sided star model
CN102185897B (zh) 安全分散式虚拟存储池系统
CN111460486B (zh) 基于预存储和二维Arnold变换的图像快速置乱方法
CN102722856A (zh) 基于三维Lorenz混沌映射的DCT域的数字图像加密方法
Alexandrino et al. Reversal and indel distance with intergenic region information

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
GR01 Patent grant
GR01 Patent grant