pub fn generate_contribution(
from_party: u32,
party_count: u32,
share_size: usize,
) -> RefreshContributionExpand description
Generate a refresh contribution from one party. Each share is random; the constraint is that the polynomial evaluates to 0 at x=0 (so the joint key doesn’t change).