fhEVM (FHE + EVM)
fhEVM is an EVM (Ethereum Virtual Machine) augmented with TFHE (Torus Fully Homomorphic Encryption). Homomorphic types and operations are exposed with a deployed library contract, which allows computations to happen on both encrypted and non-encrypted data. The main advantage of TFHE is its focus on optimization and efficiency. By utilizing mathematical structures from the torus and incorporating bootstrapping, TFHE aims to reduce the impact of noise growth and improve the performance of homomorphic computations.
One of the key advantages of fhEVM is that it empowers developers to leverage the robust and well-maintained Ethereum and Solidity toolsets, including popular tools like Remix, Hardhat, and Metamask. As a result, developers can construct their application logic within a familiar environment, and the Solidity programming language.
fhEVM introduces encrypted integer data types (e.g. ebool
, euint8
, euint16
, euint32
, euint64
, eaddress
, ebytes256
), TFHE operations ranging from arithmetic (e.g. TFHE.sub
, TFHE.mul
) to bitwise shifts (TFHE.shr
, TFHE.xor
, TFHE.and
), and TFHE comparisons (e.g. TFHE.eq
, TFHE.gt
, TFHE.lt
) that can be performed on top of encrypted values.
Decryption, and re-encryption utilize a decentralized Key Management System (KMS) based on a threshold Multi-Party Computation (MPC) protocol. This setup ensures that the global network key remains distributed among multiple parties, so no single entity can independently decrypt data.
Please note that the current testnet is utilizing a centralized KMS.
Last updated