CN110708282B - 一种针对双随机偏振编码加密系统的加密密钥获取方法 - Google Patents
一种针对双随机偏振编码加密系统的加密密钥获取方法 Download PDFInfo
- Publication number
- CN110708282B CN110708282B CN201910800216.9A CN201910800216A CN110708282B CN 110708282 B CN110708282 B CN 110708282B CN 201910800216 A CN201910800216 A CN 201910800216A CN 110708282 B CN110708282 B CN 110708282B
- Authority
- CN
- China
- Prior art keywords
- encryption
- polarization
- image
- key
- ciphertext
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/11—Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
- G06F17/12—Simultaneous equations, e.g. systems of linear equations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/14—Fourier, Walsh or analogous domain transformations, e.g. Laplace, Hilbert, Karhunen-Loeve, transforms
-
- 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/002—Countermeasures against attacks on cryptographic mechanisms
-
- 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/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- General Physics & Mathematics (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Computer Security & Cryptography (AREA)
- Computational Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Algebra (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Operations Research (AREA)
- Facsimile Transmission Control (AREA)
- Image Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
本发明涉及一种针对双随机偏振编码加密系统的加密密钥获取方法。在加密密钥获取方法中,我们使用了两个特殊的偏振态作为待加密的明文图像,并且得到了加密之后的密文,然后我们根据两个密文之间存在的线性关系,推算出了频谱面的加密密钥以及频谱面的偏振态,再根据已知的明文信息,推算出了输入面的加密密钥。
Description
技术领域
本发明属于信息安全技术领域,具体涉及一种针对双随机偏振编码加密系统的加密密钥获取方法。
背景技术
随着互联网以及多媒体技术的不断发展,信息安全方面的问题不容忽视。数字图像作为最重要的信息传递载体之一。在军事、金融、医疗、科研等领域,图像数据往往要进行加密以后在进行传输,用于防止信息的窃取,因此,图像加密技术也越来越受到人们的重视,其安全性也显得尤为重要。
最早的光学图像加密系统是Refregier和Javidi提出的双随机相位编码系统,该系统在典型的4f系统中,分别在光信号的输入平面和傅立叶频谱面上分别放入一块随机的相位掩模版,其目的是对输入图像的振幅与相位信息分别进行加密,从而达到令输出的密文完全变为一幅白噪声图像的目的。随后Matoba和Javidi又提出了双随机偏振编码,分别在光信号的输入平面和傅立叶频谱面上分别放入一块随机的偏振掩模版,其目的是对输入图像的偏振态进行加密。目前在密码分析学领域,对光学加密系统的密码分析学以针对随机相位的光学加密技术为主,针对随机偏振编码加密系统的密码学分析非常少。
本发明专利提出了一种针对双随机偏振编码加密系统的加密密钥获取方法,根据选择的明文信息与对应的密文可以求解出加密系统的密钥。
发明内容
一种针对双随机偏振编码加密系统的加密密钥获取方法。
具体实施步骤如下:
1)将待加密的图像为f(j,k)利用双随机偏振编码加密系统算法进行加密得到密文图像e(j,k),加密密钥M(j,k)、N(l,m)未知,双随机偏振编码加密方法如下:
e(j,k)=FT-1{N(l,m)FT{M(j,k)f(j,k)}}
其中:
2)选择两个偏振态分别为f1(j,k)=[1,0]T和f2(j,k)=[0,1]T的图像作为已知的明文,并利用上述加密算法及密钥加密得到密文e1(j,k)和e2(j,k)。
3)f1(j,k)和f2(j,k)经过输入面随机偏振模板M(j,k)之后的偏振态可以分别表示为:
4)将p1(j,k)和p2(j,k)傅里叶变换可以得到频谱面加密之前的偏振态:
g1的y方向分量与g2的x向分量相等,这两个偏振态表示为:
5)将第二块随机偏振模板简写为:
利用频谱面密钥N(l,m)加密得到:
6)对密文e1(j,k)和e2(j,k)进行傅里叶变换就可以得到频谱面加密之后的偏振态G1(l,m)和G2(l,m):
将他们带入上面两个式子,就可以得到下面这组方程组:
通过求解这个方程组我们就可以算出频谱面上的密钥N(l,m)和频谱面的偏振态g1(l,m)和g2(l,m),再将g1(l,m)和g2(l,m)经过逆傅里叶变换得到输入面加密之后的偏振态,再结合已知的明文信息推导出输入面的加密密钥M(j,k)。
附图说明
下面结合附图和实施例对本发明进一步说明。
图1为本发明所述针对双随机偏振编码加密系统的加密密钥获取方法流程图。
图2为本发明实施例中使用的待加密图像。
图3为本发明实施例中使用双随机偏振编码加密系统得到的密文图像。
图4为本发明实施例中使用加密密钥获取方法得到的解密图像。
具体实施方式
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细说明。
实施例:
图像加密过程:如图2所示,对像素分辨率为512*512的图像“Lena”使用双随机偏振编码加密算法进行加密,得到的密文如图3所示。
根据算法步骤2)-5),选择两个偏振态分别为f1(j,k)=[1,0]T和f2(j,k)=[0,1]T的图像作为已知的明文,图像大小为512*512像素,并利用加密算法及密钥加密得到密文e1(j,k)和e2(j,k)。
根据算法步骤6),根据密文e1(j,k)和e2(j,k)设定方程组,求解方程组得到频谱面密钥,再根据已知明文信息推导出输入面密钥。
使用计算得到的密钥解密图3所示密文,得到结果如图4所示。
Claims (1)
1.一种针对双随机偏振编码加密系统的加密密钥获取方法,包括如下步骤:
1)将待加密的图像为f(j,k)利用双随机偏振编码加密系统算法进行加密得到密文图像e(j,k),加密密钥M(j,k)、N(l,m)未知,双随机偏振编码加密方法如下:
e(j,k)=FT-1{N(l,m)FT{M(j,k)f(j,k)}}
其中:
FT{}表示傅里叶变换,FT-1{}表示逆傅里叶变换
2)选择两个偏振态分别为f1(j,k)=[1,0]T和f2(j,k)=[0,1]T的图像作为已知的明文,并利用上述加密算法及密钥加密得到密文e1(j,k)和e2(j,k);
3)f1(j,k)和f2(j,k)经过输入面随机偏振模板M(j,k)之后的偏振态可以分别表示为:
4)将p1(j,k)和p2(j,k)傅里叶变换可以得到频谱面加密之前的偏振态:
g1的y方向分量与g2的x向分量相等,将这两个偏振态表示为:
5)将第二块随机偏振模板简写为:
利用频谱面密钥N(l,m)加密得到:
6)对密文e1(j,k)和e2(j,k)进行傅里叶变换就可以得到频谱面加密之后的偏振态G1(l,m)和G2(l,m):
将他们带入上面两个式子,就可以得到下面这组方程组:
通过求解这个方程组我们就可以算出频谱面上的密钥N(l,m)和频谱面的偏振态g1(l,m)和g2(l,m),再将g1(l,m)和g2(l,m)经过逆傅里叶变换得到输入面加密之后的偏振态,再结合已知的明文信息推导出输入面的加密密钥M(j,k)。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910800216.9A CN110708282B (zh) | 2019-08-21 | 2019-08-21 | 一种针对双随机偏振编码加密系统的加密密钥获取方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910800216.9A CN110708282B (zh) | 2019-08-21 | 2019-08-21 | 一种针对双随机偏振编码加密系统的加密密钥获取方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110708282A CN110708282A (zh) | 2020-01-17 |
CN110708282B true CN110708282B (zh) | 2023-06-02 |
Family
ID=69193816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910800216.9A Active CN110708282B (zh) | 2019-08-21 | 2019-08-21 | 一种针对双随机偏振编码加密系统的加密密钥获取方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110708282B (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112687318B (zh) * | 2020-12-31 | 2023-07-25 | 乐鑫信息科技(上海)股份有限公司 | 抵御数据篡改和模板攻击的熔丝读取方法和控制器及芯片 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1900969A (zh) * | 2006-07-25 | 2007-01-24 | 深圳大学 | 双随机相位图像编码系统的密码学破解方法 |
CN102567943A (zh) * | 2012-01-09 | 2012-07-11 | 浙江农林大学 | 基于联合傅立叶变换和相位切除的非对称双图像加密方法 |
CN105917381A (zh) * | 2015-07-07 | 2016-08-31 | 深圳大学 | 基于双随机相位图像编码系统的密码学破解方法和装置 |
CN106411510A (zh) * | 2016-10-28 | 2017-02-15 | 深圳大学 | 获取随机相位编码光学加密系统等效密钥的方法和装置 |
CN106506150A (zh) * | 2016-10-28 | 2017-03-15 | 深圳大学 | 一种高安全强度的双图像光学加密方法及其解密方法 |
WO2019104455A1 (zh) * | 2017-11-28 | 2019-06-06 | 深圳大学 | 一种加/解密方法、加/解密端及双随机相位加解密系统 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5845393B2 (ja) * | 2011-04-28 | 2016-01-20 | パナソニックIpマネジメント株式会社 | 暗号通信装置および暗号通信システム |
-
2019
- 2019-08-21 CN CN201910800216.9A patent/CN110708282B/zh active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1900969A (zh) * | 2006-07-25 | 2007-01-24 | 深圳大学 | 双随机相位图像编码系统的密码学破解方法 |
CN102567943A (zh) * | 2012-01-09 | 2012-07-11 | 浙江农林大学 | 基于联合傅立叶变换和相位切除的非对称双图像加密方法 |
CN105917381A (zh) * | 2015-07-07 | 2016-08-31 | 深圳大学 | 基于双随机相位图像编码系统的密码学破解方法和装置 |
WO2017004790A1 (zh) * | 2015-07-07 | 2017-01-12 | 深圳大学 | 基于双随机相位图像编码系统的密码学破解方法和装置 |
CN106411510A (zh) * | 2016-10-28 | 2017-02-15 | 深圳大学 | 获取随机相位编码光学加密系统等效密钥的方法和装置 |
CN106506150A (zh) * | 2016-10-28 | 2017-03-15 | 深圳大学 | 一种高安全强度的双图像光学加密方法及其解密方法 |
WO2019104455A1 (zh) * | 2017-11-28 | 2019-06-06 | 深圳大学 | 一种加/解密方法、加/解密端及双随机相位加解密系统 |
Non-Patent Citations (2)
Title |
---|
双随机相位加密系统的已知明文攻击;彭翔,等;《物理学报》;第第55卷卷(第第3期期);全文 * |
基于相位截断菲涅耳变换的彩色图像加密系统;洪英汉;熊建斌;;现代电子技术(02);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110708282A (zh) | 2020-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wang et al. | A visually secure image encryption scheme based on parallel compressive sensing | |
Deng et al. | Image compression-encryption scheme combining 2D compressive sensing with discrete fractional random transform | |
US5907619A (en) | Secure compressed imaging | |
Tresor et al. | A selective image encryption scheme based on 2d DWT, Henon map and 4d Qi hyper-chaos | |
CN109560915B (zh) | 一种基于混沌和幅相编码的非线性双图像加密方法 | |
Houssein et al. | An image steganography algorithm using haar discrete wavelet transform with advanced encryption system | |
Soleymani et al. | A survey on principal aspects of secure image transmission | |
CN102176759A (zh) | 基于超混沌序列的视频流信息加密方法 | |
Es-sabry et al. | Grayscale image encryption using shift bits operations | |
CN110708282B (zh) | 一种针对双随机偏振编码加密系统的加密密钥获取方法 | |
CN109614808B (zh) | 基于线性规范变换和伽玛函数的灰度图像加解密方法 | |
CN115412229A (zh) | 一种随机序列和位异或运算的图像加密编解码方法 | |
Shao et al. | Trinion discrete cosine transform with application to color image encryption | |
Alsaedi | Colored image encryption and decryption using multi-chaos 2D quadratic strange attractors and matrix transformations | |
Nie et al. | Image compression and encryption algorithm based on advanced encryption standard and hyper-chaotic system | |
CN112261239B (zh) | 一种基于pud自适应分解的明文相关图像加密方法 | |
CN109190392B (zh) | 一种随机尺寸分割结构化相位板的图像加密与解密方法 | |
CN109214199B (zh) | 一种图像加密方法、系统和解密方法、系统 | |
Malakooti et al. | A lossless digital encryption system for multimedia using orthogonal transforms | |
Han et al. | An efficient reversible image authentication method | |
Talal et al. | Steganographic Data Hiding Using Quantum Behaved Particle Swarm Optimization and An Enhanced Aes Algorithm | |
Raju et al. | Modified encryption standard for reversible data hiding using AES and LSB steganography | |
CN110740226A (zh) | 基于数据容器和相位迭代恢复过程的光学图像加密方法 | |
Shrivas et al. | Visual cryptography in the video using halftone technique | |
Shreedhar et al. | Image encryption-then-compression system via prediction error clustering and lossless encoding |
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 |