You seem to really be showing sympathy but alright.
Anyways, it is not the same thing back at all. Most subject to torture are deemed threats to the nation. Torturing a supposed terrorist isn't the same as a terrorist for instance slaughtering people, detonating bombs, etc.
Take into account that people deemed "threats to the nation" are most likely terrorists.
Torturing is trying to extract information out of the murderers, the rapists, what have you for the good of others. Those that are horrible enough to do these things are the people that deserve to be tortured.