Relating Boolean Gate Truth Tables to One-Way Functions