1.
Introduction
1.1.
Prerequisites
1.2.
Why is a compiler needed for FHE?
1.3.
Sunscreen's compiler
2.
Getting started
2.1.
Installation
2.2.
My first FHE program
3.
What's in an FHE program?
3.1.
Types
3.1.1.
Signed
3.1.2.
Fractional
3.1.3.
Rational
3.2.
How to write an FHE program
3.2.1.
Factoring FHE programs
3.2.2.
Limitations
3.3.
Troubleshooting
4.
Runtime
4.1.
Key generation
4.2.
Encryption
4.3.
Running FHE programs
4.4.
Decryption
4.5.
Serialization
5.
Applications
5.1.
AMMs & private token swaps
5.2.
Private information retrieval
5.2.1.
Take 1
5.2.2.
Take 2
5.3.
Genomics & private tests
6.
FAQ
7.
Advanced topics
7.1.
Why the BFV scheme?
7.2.
Writing even better FHE programs
7.2.1.
Plaintext modulus
7.2.2.
Noise
7.2.3.
Pruning public keys
7.3.
WASM support
7.4.
Funky math: carryless arithmetic
7.5.
Batching
Light (default)
Rust
Coal
Navy
Ayu
Sunscreen Documentation
Advanced
Now that you've gotten the basics down, let's dive into some more complex topics.