四值逻辑运算和Blowfish算法相结合的图像加密方法

李魁彦 ,  王宏健 ,  代宇新 ,  宋子燕

东华大学学报(自然科学版) ›› 2026, Vol. 52 ›› Issue (2) : 172 -182.

PDF (18804KB)
东华大学学报(自然科学版) ›› 2026, Vol. 52 ›› Issue (2) : 172 -182. DOI: 10.19886/j.cnki.dhdz.2025.0049
信息与智能科学及纺织智能制造

四值逻辑运算和Blowfish算法相结合的图像加密方法

作者信息 +

Image encryption method combining quaternary logic operations and Blowfish algorithm

Author information +
文章历史 +
PDF (19254K)

摘要

四值逻辑运算具有丰富的运算规则,适合以符号替换的形式实现数据加解密,本文基于该运算提出了一种面向图像的新型分组密码算法及其工作模式。该算法以图像中相邻的两个像素为一个分组,从数量众多的广义密钥中随机选取48种不同的四值逻辑运算规则,用于完成图像的加/解密和密钥派生过程。针对图像数据相邻像素相关性较大的特点,本文构建了一种基于Blowfish的混淆算法,以提供强混淆能力。同时,设计了密钥派生与两次加密的工作模式,以增强扩散效果,提高算法对密钥或明文微小变化的敏感性。通过对直方图、相邻像素相关性、像素改变率、统一平均变化强度、雪崩效应、信息熵及峰值信噪比多个安全性指标的试验分析,结果表明该算法具有较高的安全性,加密时间少于已有算法,具有较好的应用前景。

Abstract

Quaternary logic operations offer a rich set of operational rules, making them suitable for implementing data encryption and decryption in a symbolic substitution form. Based on this type of operation, we propose a novel block cipher algorithm and its operation mode for image encryption. The algorithm groups every two adjacent pixels as a block and randomly selects 48 distinct quaternary logic operation rules from a large number of generalized keys to perform image encryption/decryption and key derivation. Considering the high correlation between adjacent pixels in image data, a Blowfish-based algorithm is constructed to provide strong confusion capability. Additionally, an operation mode, combining key derivation and double encryption, is designed; this operation mode ensures the diffusion effect and improves the algorithm’s sensitivity to small changes in either the seed key or plaintext. Experimental analyses of multiple security metrics, including histogram analysis, adjacent pixel correlation, number of pixel change rate (NPCR), unified average changing intensity (UACI), avalanche effect, information entropy, and peak signal-to-noise ratio (PSNR), demonstrate that the proposed algorithm is highly secure while requiring less encryption time than existing algorithms, showing promising application potential.

关键词

四值逻辑运算 / Blowfish算法 / 分组密码 / 图像加密 / 工作模式

Key words

quaternary logic operations / Blowfish algorithm / block cipher / image encryption / operation mode

引用本文

引用格式 ▾
李魁彦,王宏健,代宇新,宋子燕. 四值逻辑运算和Blowfish算法相结合的图像加密方法[J]. 东华大学学报(自然科学版), 2026, 52(2): 172-182 DOI:10.19886/j.cnki.dhdz.2025.0049

登录浏览全文

4963

注册一个新账户 忘记密码

参考文献

[1]

DONG Y H, ZHAO G, MA Y J, et al. A novel image encryption scheme based on pseudo-random coupled map lattices with hybrid elementary cellular automata[J]. Information Sciences, 2022, 593: 121-154.

[2]

KAUR G, AGARWAL R, PATIDAR V. Color image encryption system using combination of robust chaos and chaotic order fractional Hartley transformation[J]. Journal of King Saud University-Computer and Information Sciences, 2022, 34(8): 5883-5897.

[3]

GHADIRLI H M, NODEHI A, ENAYATIFAR R. An overview of encryption algorithms in color images[J]. Signal Processing, 2019, 164: 163-185.

[4]

张立立, 张高原, 周纲, . 基于bit平面分解的并行混沌图像加密算法设计与实现[J]. 实验室研究与探索, 2025, 44(10): 90-95.

[5]

ZHANG L L, ZHANG G Y, ZHOU G, et al. Design and implementation of parallel chaotic image encryption algorithm based on bit plane decomposition[J]. Research and Exploration in Laboratory, 2025, 44(10): 90-95.

[6]

ZHANG J, GUO J F, LU D L. An efficient image encryption algorithm based on S-box and DNA code[J]. Measurement: Sensors, 2023, 29: 100894.

[7]

KUMAR S, SHARMA D. A chaotic based image encryption scheme using elliptic curve cryptography and genetic algorithm[J]. Artificial Intelligence Review, 2024, 57(4): 87.

[8]

GUPTA S, Nitish, HARISH M, et al. A hybrid authenticated image encryption scheme using elliptic curves for enhanced security[J]. International Journal of Information Technology, 2024: 1-18.

[9]

YAO L S. Image encryption algorithm based on henon chaos theory[C]// Proceedings of the 2023 International Conference on Communication Network and Machine Learning. Zhengzhou, China. ACM, 2023: 269-273.

[10]

WONG K W, YAP W S, GOI B M, et al. Cryptanalysis of an image encryption scheme based on two-point diffusion strategy and Henon map[J]. Journal of Information Security and Applications, 2024, 81: 103692.

[11]

ALKHONAINI M A, GEMEAY E, ZEKI MAHMOOD F M, et al. A new encryption algorithm for image data based on two-way chaotic maps and iterative cellular automata[J]. Scientific Reports, 2024, 14: 16701.

[12]

ZHANG X C, LIU G H, ZOU C Y. An image encryption method based on improved Lorenz chaotic system and Galois field[J]. Applied Mathematical Modelling, 2024, 131: 535-558.

[13]

RAGHUVANSHI K K, KUMAR S, KUMAR S, et al. Image encryption algorithm based on DNA encoding and CNN[J]. Expert Systems with Applications, 2024, 252: 124287.

[14]

HUANG Y H, ZHANG Q L, ZHAO Y B. Color image encryption algorithm based on hybrid chaos and layered strategies[J]. Journal of Information Security and Applications, 2025, 89: 103921.

[15]

WANG H J, OUYANG S, CHEN X L, et al. Using reconfigurable multi-valued logic operators to build a new encryption technology[C]// IS4SI Summit 2023. MDPI, 2024: 99.

[16]

叶清, 张乔嘉, 袁志民. 基于Blowfish的HEVC高效选择性加密方案[J]. 海军工程大学学报, 2022, 34(1): 7-12.

[17]

YE Q, ZHANG Q J, YUAN Z M. High-efficiency and selective encryption scheme of HEVC based on Blowfish[J]. Journal of Naval University of Engineering, 2022, 34(1): 7-12.

[18]

ZHOU X Y, WANG H J, LI K Y, et al. A video streaming encryption method and experimental system based on reconfigurable quaternary logic operators[J]. IEEE Access, 2024, 12: 25034-25051.

[19]

MEHMOOD A, SHAFIQUE A, CHAUDHRY S A, et al. A time-efficient and noise-resistant cryptosystem based on discrete wavelet transform and chaos theory: an application in image encryption[J]. Journal of Information Security and Applications, 2023, 78: 103590.

[20]

WANG X Y, ZHAO M C. An image encryption algorithm based on hyperchaotic system and DNA coding[J]. Optics & Laser Technology, 2021, 143: 107316.

[21]

YU J W, XIE W, ZHONG Z Y, et al. Image encryption algorithm based on hyperchaotic system and a new DNA sequence operation[J]. Chaos, Solitons & Fractals, 2022, 162: 112456.

[22]

AZAM N A, ZHU J S, HAYAT U, et al. Towards provably secure asymmetric image encryption schemes[J]. Information Sciences, 2023, 631: 164-184.

[23]

WANG X Y, SU Y N, LUO C, et al. Color image encryption algorithm based on hyperchaotic system and improved quantum revolving gate[J]. Multimedia Tools and Applications, 2022, 81(10): 13845-13865.

[24]

ZHOU S H. A real-time one-time pad DNA-chaos image encryption algorithm based on multiple keys[J]. Optics & Laser Technology, 2021, 143: 107359.

[25]

ZHANG X Q, LIU Z W. Fast color image encryption algorithm based on FCSM and pre-storage Arnold transform[J]. Multimedia Tools and Applications, 2024, 83(2): 3985-4016.

基金资助

上海市浦江人才计划(21PJD001)

AI Summary AI Mindmap
PDF (18804KB)

63

访问

0

被引

详细

导航
相关文章

AI思维导图

/