Cheapo Enigma machine (Cops)
Javascript, 11 8 bytes, Score: 8 / 5
x=&gt;x^x/2

Simple implementation of gray code. Decoding usally needs a whole loop. Let's see who comes up with the smallest or even without a loop !