As long as we only do it to them, and only use methods designed to get actual information, we are not compromising our morals at all.
That is a rationalization if ever their was one.
Ask yourself if you would approve of this. The terrorist will not talk no matter what you do to him and he is the only one that knows where the bomb that will kill thousands of people is hidden. You can't torture jim, he won't talk, but you do have his 10-year-old daughter who you know he will try to save if you strip and rape and torture her. So, what do you do?
If you answer that question honestly your morality will suddenly appear.