北京邮电大学学报

  • EI核心期刊

北京邮电大学学报

• •    

基于零知识证明的区块链密文数据共享与访问控制方案

任志鑫1,1,闫恩华1,1,陈韬伟1,1,余益民1,2   

  1. 1. 云南财经大学
    2. 云南财经大学智能应用研究院
  • 收稿日期:2023-10-26 修回日期:2023-11-25 发布日期:2024-07-18
  • 通讯作者: 陈韬伟
  • 基金资助:
    国家自然科学基金项目;云南省区块链应用技术重点实验室开放课题;云南省跨境贸易与金融区块链国际联合研发中心;昆明面向南亚东南亚区块链技术国际(对外)科技研发中心;面向RCEP跨境贸易区块链关键技术研究;云南省教育厅科学研究基金项目

Blockchain Ciphertext Data Sharing and Access Control Scheme based on Zero-knowledge Proof

  • Received:2023-10-26 Revised:2023-11-25 Published:2024-07-18

摘要: 区块链技术结合属性基加密在一定程度上缓解了数据共享和访问控制中的密钥安全审计以及隐私数据泄露等问题。然而,当前大多数解决方案仍然在区块链上保留了授权机构,这使得“不可能三角”问题在区块链中变得更为显著。因此,引入了零知识证明机制,并提出了一种基于零知识证明的区块链密文访问控制方案。首先,使用门限代理重加密协议,实现了无需授权机构参与的属性基加密算法主密钥的多方安全管理和分发;其次,设计基于Fiat-Shamir变换的非交互式零知识证明,以完成代理重加密的链下计算正确性验证;最后,开发基于zk-SNARKs(Zero-Knowledge Succinct Non-Interactive Argument of Knowledge)的区块链密文访问控制事务交易聚合电路,进一步提升系统的可扩展性并降低链上成本。仿真实验结果表明,所提方案不仅可以实现安全高效的数据共享与访问控制,还可以有效降低链上开销,Gas降幅超过61%。

关键词: 数据共享, 访问控制, 零知识证明, 区块链, 属性基加密

Abstract: The integration of blockchain technology with ciphertext policy attribute-based encryption (CP-ABE) has to some extent alleviated issues concerning key security auditing and privacy data leakage in data sharing and access control. However, most current solutions still retain authorization authorities on the blockchain, exacerbating the "impossible triangle" problem. Therefore, this paper introduces a zero-knowledge proof mechanism and proposes a blockchain-based ciphertext access control scheme using zero-knowledge proofs. Firstly, this scheme employs a threshold proxy re-encryption protocol, enabling multi-party secure management and distribution of the attribute-based encryption algorithm's main key without the involvement of authorization authorities. Secondly, we design a NIZKP (Non-Interactive Zero-Knowledge Proof) based on the Fiat-Shamir transformation to verify the correctness of off-chain computations for proxy re-encryption. Lastly, we develop a blockchain ciphertext access control transaction aggregation circuit based on zk-SNARKs (Zero-Knowledge Succinct Non-Interactive Argument of Knowledge) to enhance system scalability and reduce on-chain costs. Simulation experiment results demonstrate that the proposed solution achieves secure and efficient data sharing and access control and effectively reduces on-chain overhead, with a gas reduction exceeding 61%.

Key words: Data Sharing, Access Control, Zero-Knowledge Proof, Blockchain, CP-ABE

中图分类号: