Fully homomorphic encryption rollups are one step closer to reality

Following a $7 million fundraise, Fhenix outlines its design for a fully homomorphic encryption rollup

article-image

Fhenix and wacomka/Shutterstock modified by Blockworks

share

Fhenix, a potential layer-2 network that wants to bring fully homomorphic encryption (FHE) to smart contracts, has revealed a technical white paper for the first FHE rollup.

FHE itself is a form of encryption that ensures the confidentiality of the data even while it’s being used, for example in smart contracts, because data can remain encrypted and processed without ever needing to be decrypted.

This enables Ethereum and other EVM networks to process information privately, with potential applications related to private voting and confidential gaming — such as poker, for example. 

Read more: Encryption startup Fhenix raises $7M for private computation

Unlike zero-knowledge (ZK) technology, FHE is completely private, Fhenix CEO Guy Itzhaki told Blockworks.

“With ZK, there is an entity called a prover that actually sees the information,” Itzhaki explains, “so confidentiality arises from the fact that this prover is being placed on the user side, producing the ZK proofs.”

One limitation is that it precludes use cases requiring computation on data that comes from multiple users, he said.

This is not the case for FHE-based systems, Itzhaki said. With FHE, data and computation is done on-chain, without the need for a prover or another entity. 

“Our overall vision at Fhenix is to create an FHE stack that will allow developers to build applications with data confidentiality, and for users to benefit out of these applications by increasing their level of security and privacy,” he said.

FHE in and of itself goes beyond just safeguarding privacy, Guy Zyskind, the founder of SCRT Labs (the team behind the Secret Network) told Blockworks. 

“This isn’t just about protecting people’s privacy — lack of on-chain encryption is the reason why we’re very limited in the applications we can build on blockchains today. For instance, consider creating an on-chain poker game. Without encryption, players’ hands would be visible to all, rendering the game unplayable,” he said.

Zyskind notes that existing privacy-focused blockchains rely heavily on zero-knowledge proofs, which fall short when it comes to the integration of private data from multiple sources, such as in an on-chain poker game or a sealed-bid auction contract. 

“Zero-knowledge proofs are more suited for single-user scenarios, such as verifying age without revealing the exact birth date. In these cases, zk proofs are effective but insufficient for complex, multi-party private data integration, where FHE rollups become essential,” he said.

Using an optimistic rollup structure

The FHE rollup white paper outlines the use of an optimistic rollup structure, a decision, Itzhaki notes, which will enable the rollup to be both scalable and private.

Although using a zk rollup architecture is not entirely out of the question, Itzhaki explains that it would be difficult to create a rollup solution that combines two very heavy-duty cryptographic systems.

“At the present moment, the implementation of FHE through optimistic [rollup structures] is much more efficient,” he said. 

One of the key breakthroughs for Fhenix was devising an effective mechanism for fraud proofs when using an optimistic rollup.

Read more: So your layer-2 is ‘secured by Ethereum’ — what does that mean?

Itzhaki explains that the team was able to introduce a fraud-proof mechanism using web assembly, a low-level computing language, which will enable fraud verification to be enacted in the same way as if the data was not encrypted.

“Rather than [running] on the native EVM itself, that mechanism enables us to check if that web assembly code as change, and lets us know if there is a fraudulent transaction,” he said.

Modular design

The FHE rollup will be designed modularly, meaning that it will draw from different components to create the blockchain.

“We have a separation between the sequencer, validator, and the data availability layer,” Itzahki said. “The data availability layer is typically Ethereum, then we at Fhenix will handle the sequencer and manage the execution, the validator, and the prover.”

Having a modular design will enable cryptographic innovations such as FHE to execute more efficiently, enabling it to focus on its strengths where needed.

“We don’t necessarily need to have [FHE] throughout the entire components. So that’s why we’re going with a modular design,” Itzahki adds. 

Kyle Samani, managing partner at Multicoin Capital, an investor in Fhenix, said the protocol’s rollup is a first-of-its-kind layer-2 that will bring FHE on-chain in a usable way. 

“The white paper is a critical first step in helping developers realize that L2’s can be used for more than just scaling. They can now be used to extend the functionality of applications into new design spaces,” Samani said.

Fhenix plans to launch the testnet of its first FHE rollup in the first quarter of 2024. It is undecided whether the rollup stack will be built open-source, though testing will be available to any interested projects.


Don’t miss the next big story – join our free daily newsletter.

Tags

Upcoming Events

Salt Lake City, UT

WED - FRI, OCTOBER 9 - 11, 2024

Pack your bags, anon — we’re heading west! Join us in the beautiful Salt Lake City for the third installment of Permissionless. Come for the alpha, stay for the fresh air. Permissionless III promises unforgettable panels, killer networking opportunities, and mountains […]

recent research

ao cover.jpg

Research

Arweave recently launched the testnet for AO computer, a new messaging protocol that will sit atop a PoS network and aims to become a scalable global compute platform through parallel processing and modularity.

article-image

Plus, a Bored Ape burger restaurant closes, and Crypto: The Game presses on

article-image

Bitcoin scarcity is a meme, with or without the halvings

article-image

The current state of blockchain interoperability poses an existential threat to the mainstream adoption of blockchain technology as a whole

article-image

The fighting in pro wrestling is largely fake and the outcomes are mostly pre-determined, similar to Ethereum’s relationship with the crypto ecosystem

article-image

Shakeeb Ahmed was tied to two hacks, and the DOJ first filed an indictment against him in July of last year

article-image

HashKey is expected to be among the issuers who receive the green light, according to the report.