Keelhauling is the act of mounting a pulley on a yard arm. A rope is passed over the side of a ship, under the keel and up the other side, through the pulley. It is then afixed to a man's hands. The other end is afixed to his feet. He is then pulled back and forth against the hull of the ship under the waterline.
I think this qualifies as being strung up.
The difference would be that in days of yore the keelhaulee would be cut up by the barnacles on the ship's hull.
Therre's no barnacles on the hull of a modern Navy ship.