• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学 ›› 2025, Vol. 47 ›› Issue (5): 832-842.

• 计算机网络与信息安全 • 上一篇    下一篇

扩展汉明码下二级QR码信息隐藏方案

张丽娜,辛鹏,侯明会,刘苗,岳恒怡   

  1. (西安科技大学计算机科学与技术学院,陕西 西安 710600) 

  • 收稿日期:2023-12-11 修回日期:2024-04-29 出版日期:2025-05-25 发布日期:2025-05-27
  • 基金资助:
    西安市科技计划项目(22GXFW0063);陕西省教育厅项目(19JK0526);陕西省科技厅青年项目(2021JQ-575,2021JQ-576);榆林市科技局项目(2016-24-4,2019-173)

An information hiding scheme of two-level QR code using extended Hamming code

ZHANG Lina,XIN Peng,HOU Minghui,LIU Miao,YUE Hengyi   

  1. (College of Computer Science and Technology,Xi’an University of Science and Technology,Xi’an 710600,China)
  • Received:2023-12-11 Revised:2024-04-29 Online:2025-05-25 Published:2025-05-27
  • Supported by:

摘要: 快速响应码QR code是一种二维条形码,具有解码速度快、纠错能力强等优点,已广泛应用于生活中的各个领域。然而,因为QR码公开的编码规则,当把QR码作为传输秘密信息的载体时,以往的部分相关方案中存在泄露秘密信息以及载荷量受限的问题。为了解决此类问题,提出一种新的QR码信息隐藏方案。该方案结合数独矩阵设计了一种新的映射函数,并对传统的(7,4)汉明码进行扩展,设计出对应的翻转规则表。在确保正确解读 QR 码公共信息的基础上,实现了更高的破解难度和更大的信息隐藏容量。实验分析表明,所构造的码字映射函数能够防止攻击者根据载体QR码破解秘密信息。与现有的隐写方案相比,该方案在嵌入载荷量和破解难度系数上均有所提高。

关键词: 信息隐藏, QR码, 数独矩阵, 汉明码

Abstract: The quick response code (QR code) is a type of two-dimensional barcode known for its fast decoding speed and strong error correction capability, and it has been widely applied in various fields of daily life. However, due to the publicly available encoding rules of QR codes, when using QR codes as a carrier for transmitting secret information, some previous related schemes have faced issues such as leakage of secret information and limited payload capacity. To address these problems, this paper pro- poses a new information hiding scheme for QR codes. This scheme combines a Sudoku matrix to design a new mapping function and extends the traditional (7,4) Hamming code to develop a corresponding flipping rule table. On the basis of ensuring correct interpretation of the public information in the QR code, it achieves a higher level of decryption difficulty and greater information hiding capacity. Experimental analysis shows that the constructed codeword mapping function can prevent attackers from cracking the secret information based on the carrier QR code. Compared with existing steganography schemes, this scheme improves both the embedding payload capacity and the decryption difficulty coefficient.

Key words: information hiding, Sudoku Matrix, Hamming code, QR code