首页> 外国专利> METHOD FOR IMPLEMENTING PRIVACY PROTECTION IN BLOCKCHAIN

METHOD FOR IMPLEMENTING PRIVACY PROTECTION IN BLOCKCHAIN

机译:在区块链中实施隐私保护的方法

摘要

Embodiments of the present application disclose methods for implementing privacy protection in a blockchain. The methods include the following: a client device encrypts a transaction including a smart contract, and sends the encrypted transaction to a first blockchain node, where code of the smart contract includes a contract state indicated by a privacy identifier; and the first blockchain node decrypts the code of the smart contract in the transaction, executes the code of the smart contract in a trusted execution environment, uses a key to encrypt the contract state indicated by the privacy identifier, and writes the encrypted contract state to a database. According to the embodiments of the present application, the contract state indicated with privacy protection can be flexibly encrypted.
机译:本申请的实施例揭示了在区块链中实现隐私保护的方法。该方法包括以下内容:客户端设备加密包括智能合同的事务,并将加密的事务发送到第一个区块链节点,其中智能合同的代码包括由隐私标识符指示的合同状态;第一个区块链节点解密事务中的智能契约的代码,在可信执行环境中执行智能契约的代码,使用密钥加密隐私标识符指示的合同状态,并将加密的合同状态写入数据库。根据本申请的实施例,可以灵活地加密具有隐私保护的合同状态。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号