Function secp256k1_zkp::compute_adaptive_blinding_factor[][src]

pub fn compute_adaptive_blinding_factor<C: Signing>(
    secp: &Secp256k1<C>,
    value: u64,
    generator_blinding_factor: Tweak,
    set_a: &[CommitmentSecrets],
    set_b: &[CommitmentSecrets]
) -> Tweak

Compute a blinding factor such that the sum of all blinding factors in both sets is equal.