pub fn output_tweak(i: usize, k: u16) -> u128
Compute the output tweak for a garbled gate where i is the gate id and k is the value.