Secp256k1

verify_from_commit

/// verify commitment

switch_commit

/// Creates a switch commitment from a blinding factor.

commit

/// Creates a pedersen commitment from a value and a blinding factor

commit_value

    /// Convenience method to Create a pedersen commitment only from a value,
    /// with a zero blinding factor

verify_commit_sum

    /// Taking vectors of positive and negative commitments as well as an
    /// expected excess, verifies that it all sums to zero.

commit_sum

/// Computes the sum of multiple positive and negative pedersen commitments.

blind_sum

/// Computes the sum of multiple positive and negative blinding factors.

nonce

    /// Convenience function for generating a random nonce for a range proof.
    /// We will need the nonce later if we want to rewind the range proof.

range_proof

    /// Produces a range proof for the provided value, using min and max
    /// bounds, relying
    /// on the blinding factor and commitment.

verify_range_proof

/// Verify a proof that a committed value is within a range.

rewind_range_proof

    /// Verify a range proof and rewind the proof to recover information
    /// sent by its author.

range_proof_info

    /// General information extracted from a range proof. Does not provide any
    /// information about the value or the message (see rewind).

bullet_proof

    /// Produces a bullet proof for the provided value, using min and max
    /// bounds, relying on the blinding factor and value. If a message is passed,
    /// it will be truncated to 64 bytes

verify_bullet_proof

/// Verify with bullet proof that a committed value is positive

unwind_bullet_proof

/// Unwind a bullet proof to get the message out

results matching ""

    No results matching ""