Ahmad Al Badawi

Blog posts

2026

  • A Step-by-Step Simulator for the NTT in FHE

    An interactive simulator that replays the real FHE NTT one butterfly at a time: recorded traces and the six places where the production code differs from the textbook.

2025

  • The Math of Slot Rotation in BGV and BFV

    How slot rotation works in BGV and BFV homomorphic encryption: automorphisms on cyclotomic rings, Galois groups, and worked examples on packed SIMD ciphertexts.

  • SIMD Packing in BGV/BFV FHE Schemes

    A deep dive into SIMD packing in BGV and BFV homomorphic encryption: the vector/polynomial isomorphism, CRT over cyclotomic rings, and a Python walkthrough.