[][src]Function fancy_garbling::util::factor

pub fn factor(inp: u128) -> Vec<u16>

Factor using the primes in the global PRIMES array. Fancy garbling only supports composites with small prime factors.

We are limited by the size of the digits in Wire, and besides, if need large moduli, you should use BundleGadgets and save.