8
For cops' post, Cheapo Enigma machine (Cops)
A robber's submission consists of a program/function that accepts the output of a cop's code and returns the input for all the outputs provided by that cop's code. (In other words, you must write the inverse function)
You cannot use built-ins that have the sole purpose of hashing or encryption.
Input/Output format
8 bits (0 or 1), or a base-10 integer in range 1-256, 0-255 or -128 to 127. Can use standard I/O or file I/O. Function can also return a value as output. Input and output must belong to the same range (as in, binary, 1-256, 0-255 or -128 to 127), which must also be the same range as that used by the cop.
Scoring
Ratio of the cop's byte count to your byte count. Highest score wins.
You can submit a robber attempt against your own cop code for reference. (Of course this code isn't eligible for winning)
Notification
Please edit the corresponding cop's answer to include your new byte count and the corresponding ratio.
2At first I was wondering how you were going to make Emigna into a machine. Then I realized you weren't talking about the user. – Magic Octopus Urn – 2017-04-24T18:39:31.733
OK, sorry for bothering you again, but I want to make sure I got it right this time. If the brainfuck answer reads and prints bytes (code points 0 to 255) and my Jelly answer takes an integer between 0 and 255 and returns an integer in the same range, is that acceptable? – Dennis – 2017-04-28T15:32:19.453
@Dennis No, it isn't. Maybe you (or someone else) could suggest an alternate wording that makes this clearer. – ghosts_in_the_code – 2017-04-28T16:12:34.177
@carusocomputing Emigna is a machine, right? He has every single 05AB1E program loaded up in his memory system, yeah? – caird coinheringaahing – 2017-06-18T23:17:28.547