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

计算机工程 ›› 2025, Vol. 51 ›› Issue (3): 24-33. doi: 10.19678/j.issn.1000-3428.0069378

• 热点与综述 • 上一篇    下一篇

基于区块链的可问责可验证外包分层属性加密方案

蒋淇淇1,2, 张亮3, 彭凌祺4, 阚海斌1,2,5,*()   

  1. 1. 复旦大学计算机科学技术学院上海市智能信息处理重点实验室, 上海 200433
    2. 上海市区块链工程技术研究中心复旦-众安区块链与信息安全联合实验室, 上海 200433
    3. 海南大学网络空间安全学院(密码学院), 海南 海口 570228
    4. 上海华虹计通智能系统股份有限公司, 上海 201206
    5. 复旦大学义乌研究院, 浙江 义乌 322000
  • 收稿日期:2024-02-20 出版日期:2025-03-15 发布日期:2025-03-27
  • 通讯作者: 阚海斌
  • 基金资助:
    国家重点研发计划(2019YFB2101703); 国家自然科学基金(62272107); 国家自然科学基金(62302129); 上海市科技创新行动计划(21511102200); 广东省重点领域研发计划(2020B0101090001); 海南省重点研发项目(ZDYF2024GXJS030)

Accountable and Verifiable Outsourced Hierarchical Attribute Encryption Scheme Based on Blockchain

JIANG Qiqi1,2, ZHANG Liang3, PENG Lingqi4, KAN Haibin1,2,5,*()   

  1. 1. Shanghai Key Laboratory of Intelligent Information Processing, School of Computer Science, Fudan University, Shanghai 200433, China
    2. Fudan-Zhongan Joint Laboratory of Blockchain and Information Security, Shanghai Engineering Research Center of Blockchain, Shanghai 200433, China
    3. School of Cyberspace Security (School of Cryptology), Hainan University, Haikou 570228, Hainan, China
    4. Shanghai Huahong Jitong Smart System Co., Ltd., Shanghai 201206, China
    5. Yiwu Research Institute, Fudan University, Yiwu 322000, Zhejiang, China
  • Received:2024-02-20 Online:2025-03-15 Published:2025-03-27
  • Contact: KAN Haibin

摘要:

大数据时代的到来与信息种类的丰富对数据的受控共享提出了更加细粒度的要求, 基于属性的分布式加密(DABE)可以支持多个参与方之间的数据细粒度访问控制。时兴的物联网数据共享场景对于数据的跨域访问、透明可信度与可控性都有着更高需求, 传统的基于属性的加密(ABE)方案的计算开销对于资源有限的小型设备造成了一定的负担。为了解决上述问题, 提出一种基于区块链的可问责可验证外包分层属性加密方案。该方案支持数据跨域流通, 通过区块链技术保障数据流通的透明度与可信性, 引入可验证凭证(VC)概念解决用户身份认证问题, 借助外包思想将复杂的加解密过程造成的负担分散给外包计算节点, 最终利用分层思想实现更加细粒度的数据访问控制。安全性分析表明, 该方案可以抵抗选择明文攻击。通过使用Docker模拟算力有限的小型设备进行实验, 结果表明该方案相较现有方案具有更低的计算开销, 在属性个数为30时各个算法的计算开销不超过2.5 s, 平均开销为1 s, 适用于资源受限的应用场景。

关键词: 基于属性的加密, 区块链, 跨域访问, 外包解密, 可验证凭证

Abstract:

With the advent of the big data era, the proliferation of information types has increased the requirements for controlled data sharing. Decentralized Attribute-Based Encryption (DABE) has been widely studied in this context to enable fine-grained access control among multiple participants. However, the Internet of Things (IoT) data sharing scenario has become mainstream and requires more data features, such as cross-domain access, transparency, trustworthiness, and controllability, whereas traditional Attribute-Based Encryption (ABE) schemes pose a computational burden on resource-constrained IoT devices. To solve these problems, this study proposes an accountable and verifiable outsourced hierarchical attribute-based encryption scheme based on blockchain to support cross-domain data access and improve the transparency and trustworthiness of data sharing using blockchain. By introducing the concept of Verifiable Credential (VC), this scheme addresses the issue of user identity authentication and distributes the burden of complex encryption and decryption processes to outsourced computing nodes. Finally, using a hierarchical structure, fine-grained data access control is achieved. A security analysis has demonstrated that the proposed scheme can withstand chosen-plaintext attacks. Simulation results on small IoT devices with limited resources using Docker have shown that the proposed scheme has a lower computational overhead than existing schemes. For up to 30 attributes, the computation costs have not exceeded 2.5 s for any of the algorithms, and the average cost is approximately 1 s, making the scheme suitable for resource-constrained IoT devices.

Key words: Attribute-Based Encryption(ABE), blockchain, cross-domain access, outsourced decryption, Verifiable Credential (VC)