信息网络安全 ›› 2025, Vol. 25 ›› Issue (4): 640-653.doi: 10.3969/j.issn.1671-1122.2025.04.012

• 理论研究 • 上一篇    下一篇

基于区块链的隐私保护和数字认证研究

杨亚涛1,2(), 丁渝诚1, 刘培鹤1, 桑鹏1   

  1. 1.北京电子科技学院电子与通信工程系,北京 100070
    2.西安电子科技大学通信工程学院,西安 710071
  • 收稿日期:2024-10-20 出版日期:2025-04-10 发布日期:2025-04-25
  • 通讯作者: 杨亚涛 yy2008@163.com
  • 作者简介:杨亚涛(1978—),男,河南,教授,博士,主要研究方向为信息安全、全同态加密、抗量子密码、密码协议和算法|丁渝诚(2000—),男,江苏,硕士研究生,主要研究方向为信息安全、区块链技术|刘培鹤(1972—),男,黑龙江,工程师,本科,主要研究方向为网络与通信安全、区块链安全|桑鹏(1998—),男,河南,博士研究生,主要研究方向为应用密码学、信息安全
  • 基金资助:
    中央高校基本科研业务费(3282024058);中央高校基本科研业务费(3282024052);北京市自然科学基金(4232034)

Research on Blockchain-Based Privacy Preservation and Digital Authentication

YANG Yatao1,2(), DING Yucheng1, LIU Peihe1, SANG Peng1   

  1. 1. Department of Electronic and Communication Engineering, Beijing Electronic Science and Technology Institute, Beijing 100070, China
    2. School of Telecommunications Engineering, Xidian University, Xi’an 710071, China
  • Received:2024-10-20 Online:2025-04-10 Published:2025-04-25

摘要:

公钥基础设施-证书颁发机构(PKI-CA)是一种用于管理数字证书和公私钥对的技术框架,传统PKI-CA系统由于集中化管理的特性,存在单点故障和安全风险。为解决这些问题,文章设计了一种基于区块链智能合约的去中心化PKI-CA系统,通过智能合约实现证书的增删改查,各节点扮演证书颁发机构或注册机构的角色。为提高效率,系统采用了基于星际文件系统的数字证书索引算法,使用内容标识符(CID)快速检索证书。考虑到区块链的透明性问题,系统结合国密算法和全同态加密算法,加密敏感数据,确保证书持有者的身份和隐私安全。实验结果表明,系统每秒可处理50次操作,颁发100张证书仅需2.39 s,相较于传统PKI-CA系统具有更高的性能和安全性。安全性分析结果表明,系统采用的国密算法和全同态加密技术有效实现了对系统关键数据和敏感数据的保护,区块链的去中心化与共识机制增强了系统的抗攻击能力,有效防止了恶意生成和伪造证书。

关键词: 区块链, 智能合约, 证书权威, 星际文件系统

Abstract:

Public Key Infrastructure Certificate Authority (PKI-CA) is a framework used to manage digital certificates and public-private key pairs. Traditional PKI-CA systems, due to their centralized management nature, faced risks of single points of failure and security vulnerabilities. To address these issues, this paper designed a decentralized PKI-CA system based on blockchain smart contracts, where certificate addition, deletion, modification and querying were achieved through smart contracts. Each node assumed the role of a Certificate Authority (CA) or Registration Authority (RA). To improve efficiency, the system adopted a certificate indexing algorithm based on IPFS, using Content Identifiers (CID) for fast certificate retrieval. Considering the transparency of blockchain, the system incorporated China’s cryptographic algorithm and fully homomorphic encryption to encrypt sensitive data, ensuring the identity and privacy of certificate holders. Testing results showed that the system could handle 50 operations per second, with the issuance of 100 certificates taking only 2.39 seconds, demonstrating better performance and security compared to traditional PKI-CA systems. Security analysis results showed that the China commercial cryptographic algorithm and full homomorphic encryption technology adopted by the system effectively protect the system’s key data and sensitive information. The decentralization and consensus mechanism in the blockchain enhance the system’s anti-attack capability and effectively prevent the malicious generation and forgery of certificates.

Key words: blockchain, smart contracts, certificate authority, IPFS

中图分类号: