Zama的fhEVM:基于全同态加密实现的隐私智能合约

1. 引言

Zama的fhEVM定位为:

  • 基于全同态加密实现的隐私智能合约 解决方案

开源代码见:

Zama的fhEVM协议中主要包含:

  • https://github.com/zama-ai/tfhe-rs(Rust):基于Rust实现的,TFHE Scheme for Boolean and Integer Arithmetics Over Encrypted Data。
  • A decryption mechanism [Sma23] based on distributed threshold protocols [DDE+23] that prevents misuse by malicious smart contracts, yet is flexible and nonintrusive to honest smart-contract developers.
  • A Solidity library that makes it easy for smart-contract developers to use encrypted data in their contracts, without any changes to compilation tools. 即https://github.com/zama-ai/fhevm

现有隐私合约解决方案对比为:

Zama的fhEVM支持:

  • 端到端的交易和状态加密:交易中的数据是加密的,对任何人都不可见。
  • 可组合性以及链上数据可用性:在总是保持加密的情况下,对状态进行更新。
  • 不影响现有dapps和状态:加密状态可与现有公开状态共存,不会影响现有dapps。

开发者可不用学习密码学只是,就可编写隐私智能合约,因fhEVM中:

  • 集成Solidity:fhEVM合约为简单的solidity合约,可使用传统solidity工具链来构建。
  • 简单的开发者体验:开发者可使用euint数据类型来标记其合约内哪些内容是私有的。
  • 可编程隐私性:对加密状态的访问控制的所有逻辑,均由开发者在其合约内定义。

参考资料

[1] fhEVM白皮书

[2] fhEVM官网

相关推荐
mutourend4 个月前
Lagrange ZK Coprocessor:革新区块链领域的大数据应用
隐私应用
mutourend1 年前
Aztec.nr:Aztec的隐私智能合约框架——用Noir扩展智能合约功能
隐私应用
mutourend1 年前
Polygon ID架构
隐私应用
mutourend1 年前
Aztec的隐私抽象:在尊重EVM合约开发习惯的情况下实现智能合约隐私
隐私应用
mutourend1 年前
Private market:借助ZK实现的任意计算的trustless交易
隐私应用
mutourend1 年前
制衡:机器学习和零知识证明
人工智能·隐私应用
mutourend1 年前
proto-neural-zkp:Plonky2 + Numpy 构建的神经网络原型
隐私应用