fhEVM v0.6: Enhanced Input Mechanism with Proof Capabilities, Expanded type, and Better Configurability

January 14, 2025
Clément Danjou

fhEVM v0.6 introduces expanded type support, a more robust input mechanism with proof capabilities, and enhanced configurability for fhEVM deployment. These changes continue to improve flexibility, usability, and integration with encrypted data systems.

fhEVM v0.6 also comes with one of Zama’s most exciting innovation so far: the fhEVM Coprocessor. Developers can now build confidential smart contracts on any EVM chain, starting on the Sepolia testnet. 

Expanded type support

fhEVM v0.6 now supports larger encrypted types, removing limitations on the size of integers: 

  • [.c-inline-code]euint128[.c-inline-code] and [.c-inline-code]euint256[.c-inline-code] for higher-precision encrypted integers.
  • [.c-inline-code]ebytes64[.c-inline-code], [.c-inline-code]ebytes128[.c-inline-code], and [.c-inline-code]ebytes256[.c-inline-code] for larger encrypted byte arrays.

More robust input mechanism

One of the challenges in secure computing is ensuring that ciphertexts are not reused or copied by unauthorized users. Without proper safeguards, attackers could manipulate ciphertexts to decrypt data they don’t own.

To address this, fhEVM v0.6 introduces an Input Mechanism with Proof. This feature validates ciphertext authenticity and integrity, ensuring users have plaintext-awareness of the ciphertexts they interact with. You can learn more details about this feature in the  documentation.

Enhanced configurability for fhEVM deployment

fhEVM v0.6 introduces a new function called [.c-inline-code]TFHE.setFHEVM()[.c-inline-code] that enables users to specify a particular fhEVM configuration on a network. Implementing this configuration is straightforward with configuration contracts. Here is an example:

// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity ^0.8.24;
import { SepoliaZamaFHEVMConfig } from "fhevm/config/ZamaFHEVMConfig.sol";

contract MyERC20 is SepoliaZamaFHEVMConfig {
 constructor() {
   // Additional initialization logic if needed
 }
}

For a deeper dive into how this feature works, check out our documentation.

The fhEVM Coprocessor 

This quarter, we unveiled one of Zama’s most exciting innovations to date: the fhEVM Coprocessor. It’s a game-changer for confidential smart contracts, enabling Fully Homomorphic Encryption (FHE) on any EVM chain—including those that don’t natively support FHE without modifying the underlying blockchain protocols. 

You can already start experimenting with it on the Sepolia Testnet. Support for other chains is on the way. To get started, check out our documentation, or read the fhEVM Coprocessor launch blog post to understand the full technical details and product vision of fhEVM.

Additional links 

Read more related posts

No items found.