[−][src]Function accumulator::util::shamir_trick
pub fn shamir_trick<G: Group>(
xth_root: &G::Elem,
yth_root: &G::Elem,
x: &Integer,
y: &Integer
) -> Option<G::Elem>
Computes the (xy)th root of g given the xth and yth roots of g and (x, y) coprime.