API Reference
This section provides detailed reference documentation for every public type and module in Sequre.
Core types
| Module |
Description |
| Sharetensor |
Additively secret-shared tensor — the core MPC data type |
| Ciphertensor |
Local CKKS ciphertext tensor with operator overloading |
Multiparty types
| Module |
Description |
| Multiparty Types (overview) |
Overview and comparison of MPU, MPP, MPA |
| MPU |
Multiparty Union — highest-level distributed type (union of MPP and MPA) |
| MPP |
Multiparty Partition — horizontally partitioned data across parties |
| MPA |
Multiparty Aggregate — additive shares with optional encryption |
Runtime & environment
| Module |
Description |
| MPCEnv |
The runtime environment that orchestrates all protocols |
| Decorators & Attributes |
@sequre, @local, @flatten, compiler IR pass attributes |
Libraries
| Module |
Description |
| Secure Stdlib |
Built-in secure functions: sign, abs, inv, sqrt, Chebyshev approximations, linear algebra, bit protocols |
| Secure ML |
Machine learning: linear/logistic regression, SVM, PCA, multiple imputation, neural networks |
Infrastructure
| Module |
Description |
| Lattiseq (CKKS) |
Low-level homomorphic encryption engine |
| Configuration |
Environment variables, constants, and compile-time settings |