dusk-plonk 0.23.0

A pure-Rust implementation of the PLONK ZK-Proof algorithm
Documentation
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) DUSK NETWORK. All rights reserved.

//! Collection of functions needed to use plonk library.
//!
//! Use this as the only import that you need to interact
//! with the principal data structures of the plonk library.

pub use dusk_curves::bls12_381::BlsScalar;
pub use dusk_jubjub::{JubJubAffine, JubJubExtended, JubJubScalar};

pub use crate::error::Error;
pub use crate::proof_system::Proof;
#[cfg(feature = "alloc")]
pub use crate::{
    commitment_scheme::PublicParameters,
    compiler::{Compiler, PlonkVersion, Prover, Verifier},
    composer::{Circuit, Composer, Constraint, Witness, WitnessPoint},
};