[−][src]Function amcl_wrapper::commitment::commit_to_field_element_vectors
pub fn commit_to_field_element_vectors(
g: &G1Vector,
h: &G1Vector,
u: &G1,
a: &FieldElementVector,
b: &FieldElementVector,
c: &FieldElement
) -> Result<G1, ValueError>
Commit to field element vectors a
and b
with random field element c
Given group element vectors g
and h
and group element u
, compute
(a1g1 + a2g2 + a3g3) + (b1h1 + b2h2 + b3h3) + c*u