project screenshot 1
project screenshot 2
project screenshot 3

Only-FHE

NFT with ability to hold an encrypted image with the support of FHE technology

Only-FHE

Created At

ETHOnline 2024

Project Description

This project provide NFT ability to hold a hidden metadata.

  1. Beside the public image URI. NFT can hold a private image.
  2. The image most significant be can be extract (assume it is lower than 256bit) and encrypted by using FHE technology. The encrypted bits finally saved onchain in the nft contract. Only the owner of the NFT can get the real bit and the reproduce the private image.
  3. Furthermore, the image metadata can also be FHE encrypted. It is allow those value also keep privately onchain, and can be updated without revealing value. This features can be apply to gaming. For example, the power of a pokemon. It can be evolved and increase power without the notice of other user before a match.
  4. User from platform like OnlyFans, can also take advantage of this, by selling NFT, with the public image is the censored version, while the encrypted one is the uncensored version which the buyer would like to own.

How it's Made

This project use Fhenix Protocol to take advantage of FHE technology to encrypted key, store key onchain, using permission feature to get unseal (decrypt) key and then decrypt the message (private image). On the scope of the hackathon, the part of significant bits is quite difficult to test. We decided to use another approach by encrypt the image by using aes encryption algorithm. The encryption key, then, encrypted again by using FhenixJS client for FHE stored types. We also build a sample NFT market place, which provide an example of how the private image can be decrypted and use for user.

background image mobile

Join the mailing list

Get the latest news and updates