Home / Companies / Zama / Blog / Post Details
Content Deep Dive

Implement a Fully Homomorphic Version of the AES-128 Cryptosystem using TFHE-rs

Blog post from Zama

Post Details
Company
Date Published
Author
Nicolas Sarlin
Word Count
972
Language
English
Hacker News Points
-
Summary

Transciphering, which involves applying encryption or decryption algorithms homomorphically, was the focus of TFHE-rs Bounty Season 7, where participants were challenged to apply the AES encryption algorithm homomorphically. This approach can significantly reduce encrypted data size, which is beneficial for storage and transmission, by sending the AES encryption of the message with the FHE encryption of the AES key. The competition, which showcased various innovative strategies using the TFHE-rs API, concluded with "sharkbot" winning the grand prize for their efficient use of a Boyar-Peralta circuit for AES S-box computations. This winning solution leveraged bit-level circuits, parallel processing, and parameter tuning to optimize CPU core utilization and achieve efficient homomorphic AES encryption. Other notable participants, such as "tomtau" and "allanbrodum," also demonstrated effective strategies but with varying performance outcomes. The event illustrated the potential of hardware design techniques in enhancing FHE computations and highlighted the versatility and potential of the TFHE-rs API for cryptographic applications.