Affirming the Consequent occurs when someone fails to consider an alternate antecedent might lead to a given outcome.
The general form for this fallacy is
- If P, then Q
- Therefore P
I almost didn't publish this comic because it seems to much like conspiracy theory fodder.
The statement "If you did something wrong, you have something to hide" is true (that doesn't mean they will hide their wrongdoing, but they do have something they could hide).
However, there are plenty of reasons why someone might hide something even though they haven't done anything wrong. The example I use in the comic is of someone trying to expose crimes against humanity. In that case an individual may need to hide their effort, or hide their identity, but they have done nothing wrong.