The p3-commit crate provides a framework for cryptographic commitment schemes, including non-hiding variants. It serves as the abstraction layer that connects proof systems to their specific commitment backends.
Key abstractions include:
Pcs / MultilinearPcs: Interfaces for polynomial commitment schemes used by STARK provers and verifiers.Mmcs (Mixed Matrix Commitment Scheme): A vector-commitment abstraction designed to handle batches of matrices with differing heights.PolynomialSpace and TwoAdicMultiplicativeCoset: Abstractions for evaluation domains.periodic: Helpers for periodic-column evaluation.testing: Mock implementations available for downstream testing.
Common implementations of these interfaces can be found in the p3-merkle-tree, p3-fri, p3-circle, and p3-whir crates.