• •    

基于变色龙哈希和可验证秘密共享的联盟链修改方法(WISA2023+196)

宋宝燕1,丁俊翔2,王俊陆3,张浩林2   

  1. 1. 辽宁大学 信息学院, 沈阳 110036
    2. 辽宁大学
    3. 辽宁大学 信息学院,沈阳 110036
  • 收稿日期:2023-09-01 修回日期:2023-09-22 发布日期:2023-12-18
  • 通讯作者: 丁俊翔
  • 基金资助:
    国家重点研发计划项目;辽宁省应用基础研究计划;数字辽宁智造强省(数字经济方向);辽宁省中央引导地方科技发展资金计划项目;辽宁省自然基金资助计划

Consortium Blockchain Modification Method Based on Chameleon Hashing and Verifiable Secret Sharing

  • Received:2023-09-01 Revised:2023-09-22 Online:2023-12-18

摘要: 区块链具有去中心化、不可篡改、可追溯等特征。现有联盟链系统在数据上链后会全程留痕,当出现敏感信息或恶意数据时无法处理,或处理后区块链分叉、中断。因此,针对这些问题,提出一种基于变色龙哈希和可验证秘密共享的联盟链数据修改方法。该方法首先将变色龙哈希的陷门再分配给身份节点,将发起修改者与实际修改者进行隔离;其次,为保证再分配值的正确性,将不同时间周期变色龙哈希所对应的数据设为可验证数据,验证节点上传承诺到可验证数据,提案节点通过承诺验证秘密共享值;最后,为防止节点作恶,提出基于奖励金机制的数据纠正方法,提高了节点纠正作恶的积极性,降低了作恶的可能。实验表明,基于变色龙哈希和可验证秘密共享的联盟链可修改方法相较于用传统变色龙哈希来修改联盟链数据的方法在处理恶意节点的效率方面提高了44.1%,即计算公式为(98%-68%)/68%=44.1%,在处理恶意数据的时间上缩短了近53.7%%,即计算公式为(0.27min-0.125min)/0.27min=53.7%。

关键词: 可修改联盟链, 变色龙哈希, 秘密共享, 可验证数据, 奖励金机制

Abstract: Blockchain had the characteristics of decentralization, tamper resistance, and traceability. The existing alliance chain system would leave traces throughout the entire process after data is uploaded, which could not be processed when sensitive information or malicious data appears, or the blockchain forks or interrupts after processing. Therefore, a federation chain data modification method based on chameleon hashing and verifiable secret sharing was proposed to address these issues. This method first assigned the trap gate of the chameleon hash to the identity node, isolating the initiator and actual modifier; Secondly, in order to ensure the correctness of redistribution values, the data corresponding to chameleon hashes in different time periods were set as verifiable data, the verification node uploads the commitment to verifiable data, and the proposal node verifies the secret shared value through the commitment; Finally, to prevent nodes from committing wrongdoing, a data correction method based on a reward mechanism was proposed, which increased the enthusiasm of nodes to correct wrongdoing and reduces the possibility of wrongdoing. Experiments had shown that the modified alliance chain method based on chameleon hashing and verifiable secret sharing improved the efficiency of processing malicious nodes by 44.1% compared to the traditional chameleon hash method for modifying alliance chain data, the calculation formula is (98% -68%)/68%=44.1%, and shortens the time for processing malicious data by nearly 53.7%, the calculation formula is (0.27 minute-0.125 minute)/0.27 minute=53.7%.

Key words: Modifiable consortium blockchain, clamenleon hash, secret sharing, verifiable data, reward mechanism

中图分类号: