Function fancy_garbling::util::factor
source · [−]pub fn factor(inp: u128) -> Vec<u16>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
Expand description
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.