# Google's Fully Homomorphic Encryption Compiler -- A Primer

DevFeed: [Google's Fully Homomorphic Encryption Compiler -- A Primer](<https://devfeed.tech/articles/google-s-fully-homomorphic-encryption-compiler-a-primer-40462.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2023/02/13/googles-fully-homomorphic-encryption-compiler-a-primer/>)

Published: 2023-02-13T11:34:01Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [homomorphic encryption](<https://devfeed.tech/topics/homomorphic-encryption.md>), [FHE](<https://devfeed.tech/topics/fhe.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [Google](<https://devfeed.tech/topics/google.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [toolchain](<https://devfeed.tech/topics/toolchain.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [circuit](<https://devfeed.tech/tags/circuit.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [fhe](<https://devfeed.tech/tags/fhe.md>), [github](<https://devfeed.tech/tags/github.md>), [google](<https://devfeed.tech/tags/google.md>), [homomorphic-encryption](<https://devfeed.tech/tags/homomorphic-encryption.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [toolchains](<https://devfeed.tech/tags/toolchains.md>)

## AI overview

This primer introduces Google's open-source fully homomorphic encryption compiler for C++. It explains how the compiler transforms supported plaintext C++ programs into programs that operate on encrypted data, and briefly discusses its internals, optimization passes, and circuit-based toolchain model.

## Source excerpt

Back in May of 2022 I transferred teams at Google to work on Fully Homomorphic Encryption (newsletter announcement). Since then I've been working on a variety of projects in the space, including being the primary maintainer on github.com/google/fully-homomorphic-encryption, which is an open source FHE compiler for C++. This article will be an introduction to how to use it to compile programs to FHE, as well as a quick overview of its internals.