pub type DistributionSharesBox<G> = GenericDistributionSharesBox<G>;Expand description
Type alias for the generic DistributionSharesBox - primary API for 1.0.0 Replaces the old non-generic DistributionSharesBox struct
Aliased Type§
pub struct DistributionSharesBox<G> {
pub commitments: Vec<<G as Group>::Element>,
pub positions: HashMap<Vec<u8>, i64>,
pub shares: HashMap<Vec<u8>, <G as Group>::Element>,
pub publickeys: Vec<<G as Group>::Element>,
pub challenge: <G as Group>::Scalar,
pub responses: HashMap<Vec<u8>, <G as Group>::Scalar>,
pub U: BigInt,
}Fields§
§commitments: Vec<<G as Group>::Element>§positions: HashMap<Vec<u8>, i64>Maps serialized element bytes to position
Maps serialized element bytes to encrypted share
publickeys: Vec<<G as Group>::Element>§challenge: <G as Group>::Scalar§responses: HashMap<Vec<u8>, <G as Group>::Scalar>Maps serialized element bytes to response
U: BigInt