作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2018, Vol. 44 ›› Issue (6): 136-140. doi: 10.19678/j.issn.1000-3428.0046392

• 安全技术 • 上一篇    下一篇

基于属性加密的二维码分级加密算法

杨康,袁海东,郭渊博   

  1. 解放军信息工程大学,郑州 450001
  • 收稿日期:2017-03-16 出版日期:2018-06-15 发布日期:2018-06-15
  • 作者简介:杨康(1992—),男,硕士研究生,主研方向为信息安全;袁海东,副教授、博士;郭渊博,教授、博士。
  • 基金资助:

    国家自然科学基金(61501515)。

Two-dimensional Code Hierarchical Encryption Algorithm Based on Attribute Encryption

YANG Kang,YUAN Haidong,GUO Yuanbo   

  1. PLA Information Engineering University,Zhengzhou 450001,China
  • Received:2017-03-16 Online:2018-06-15 Published:2018-06-15

摘要:

二维码仅适合单一权限信息的传输,不能同时满足不同权限用户对于信息的获取需求。为此,通过分级加密的方式,将二维码信息进行分块加密处理。使用Hash函数自动生成不同权限输入信息所对应的私钥,以满足高权限用户对低权限信息的获取需求。采用属性加密算法,根据不同信息的权限和访问该权限信息所对应的属性集,生成访问控制树,计算不同的用户属性所对应的访问权限并分配用户私钥。将信息的权限与用户属性权限进行匹配,完成基于属性加密的二维码分级加密。实验结果表明,该算法能够满足不同权限用户对于不同权限信息的获密需求。

关键词: 二维码, 属性加密, 分级加密, Hash函数, 访问控制树

Abstract:

The two-dimensional code is only suitable for the transmission of single privilege information,cannot meet the needs of different permission users to gain the information.Using hierarchical encryption mode,the two-dimensional code information is encrypted according to the permission of secret information.The Hash function is used to generate the private key corresponding to different permission secret information automatically,to meet the acquisition needs of low permission information by high permission users.Using the attribute encryption algorithm,the access tree is generated according to the attribute set corresponding to the permission and access privilege of different information.The access permissions corresponding to different user attributes is calculated and the user private key is generated.The privilege of secret information and user attribute permissions are matched to complete the hierarchical encryption of two- dimensional code.Experimental results show that two dimensional code classification encryption algorithm based on attribute encryption can meet the needs of different permission users for different privilege information.

Key words: two-dimensional code, attribute encryption, hierarchical encryption, Hash function, access control tree

中图分类号: