Find a type or operation.
Choose a 0.9.0 crate reference, or build the API for the pinned source guide.
Source guide · 7dd13e6Markdown
Scheme APIs
| Crate | Use it for |
|---|---|
| poulpy-ckks | Encoding, encrypted numerical arithmetic, polynomial evaluation, and bootstrapping |
| poulpy-bin-fhe | Blind rotation, circuit bootstrapping, and encrypted integer arithmetic |
| poulpy-mhe | Multiparty key generation, key switching, and share conversions |
Start with the CKKS or Binary FHE guide if you are looking for a runnable example.
Core and hardware abstraction
| Crate | Use it for |
|---|---|
| poulpy-core | Ciphertexts, keys, encryption, and scheme-independent operations |
| poulpy-hal | Backend layouts, operation traits, and scratch memory |
The codebase overview explains the dependency direction and extension points.
Backend APIs
These links cover the available published CPU backend APIs. Poulpy’s backend interface is hardware-independent, and a GPU backend is in active development. See Hardware targets for the broader scope.
- Portable
- AVX2 / FMA source — the docs.rs build failed at 0.8.3 and is not yet rechecked for 0.9.0; generate the pinned reference locally with the command below
- AVX-512 / IFMA
- ARM NEON
For AVX2/FMA documentation from the pinned checkout:
RUSTFLAGS="-C target-feature=+avx2,+fma" cargo doc --locked --no-deps -p poulpy-cpu-avx --features enable-avx,enable-ckks --open
Match the reference to your checkout
The links above target the 0.9.0 APIs. Technical guides and examples use the pinned source baseline. Use the version selector for another published dependency version. For a source checkout, you can generate the reference for the exact code you are using:
cargo doc --locked --no-deps -p poulpy-hal -p poulpy-core -p poulpy-cpu-portable -p poulpy-ckks -p poulpy-bin-fhe --features poulpy-cpu-portable/enable-ckks --open