poulpyFully homomorphic encryption
GitHub Get started
Menu

Poulpy ecosystem / Phantom

Phantom.
Programs under encryption.

A fully encrypted RISC-V virtual machine. Phantom keeps the program private alongside its inputs, including instructions, constants, and execution state.

Encrypted execution

From Rust to a private program.

Phantom combines a compiler, runtime, and FHE virtual machine. Developers can publish an encrypted program for execution on encrypted or plaintext inputs.

  1. Write

    Write a Rust program and compile it to RISC-V.

  2. Encode

    Represent the binary as polynomials for RLWE-based FHE.

  3. Encrypt

    Encrypt the program before handing it to the evaluator.

  4. Execute

    Run it through FHE circuits for instructions, registers, RAM, and the program counter.

Built with Poulpy

FHE primitives become a virtual machine.

Phantom’s VM depends on Poulpy’s HAL, core, scheme operations, and CPU backends. Its repository defines the dependency versions and build toolchain.

Explore Phantom

Source, examples, and background.