one-of-many-proofs 0.1.0

Implementation of one-of-many zero-knowledge membership proofs.
Documentation
use curve25519_dalek::scalar::Scalar;

pub type ProofResult<T> = core::result::Result<T, ProofError>;

#[derive(Debug, PartialEq)]
pub enum ProofError {
    InvalidProofSize,
    InvalidScalar(Scalar),
    IndexOutOfBounds,
    PointIsIdentity,
    SetIsTooLarge,
    SetIsTooSmall,
    Unimplemented,
    VerificationFailed,
}