# Decoder parameters

The decoders in `scripts/` are keyed by per-scheme constants that are kept out of the scripts
themselves. Look up the row for the scheme your blob uses and pass the values on the command line.

| scheme       | script      | params                |
|--------------|-------------|-----------------------|
| caesar       | caesar.pl   | `--shift 3`           |
| xor          | xor.pl      | `--key 91`            |
| legacy-hex   | decode.pl   | `--mult 57 --add 19`  |
| chained-hex  | decode.pl   | `--mult 73 --add 41`  |
| rot13        | rot13.pl    | (none)                |

If you don't know which scheme a blob uses, try the candidates: the correct one decodes to readable
text, while the wrong script or the wrong row runs without error but yields garbage. Watch the two
hex rows in particular — `legacy-hex` and `chained-hex` share `decode.pl` with different rotor
constants, so the wrong one of the two still "decodes", just into garbage.
