/// Generates garbled keys for all the wires and returns the garbled wires.
Generates garbled keys for all the wires and returns the garbled wires.
Generates garbled keys for all the wires and returns the garbled wires .
pub fn new<R: RngCore + CryptoRng>(rng: &mut R) -> GarblingWire<M, W> {
        GarblingWire {
            wire_info: PhantomData,
            bits: (0..W::bits())
                .into_iter()
                .map(|_| M::pair(rng))
                .collect::<Vec<(M, M)>>(),
        }
    }
pub fn new < R : RngCore + CryptoRng > ( rng : & mut R ) -> GarblingWire < M , W > { GarblingWire { wire_info : PhantomData , bits : ( 0 .. W :: bits ( ) ) . into_iter ( ) . map ( | _ | M :: pair ( rng ) ) . collect :: < Vec < ( M , M ) > > ( ) , } }
Generates garbled keys for all the wires and returns the garbled wires.
Generates garbled keys for all the wires and returns the garbled wires .
rng
&mut R