Singapore, Malaysia, India, Saudi Arabia all use corporal punishment for criminals. There is no need to lock people away in prison for years at a time paying for them to be educated and taken care of. They could receive fast and fair punishment and have it over with in a matter a weeks. A fair honest trial and appeals as the law directs. It is much more humane to flog and get it over with than to place them in a cage with worse criminals than them.
More people become more violent criminals in prison than they are when they go in.
The chances of any convict of being killed, raped or being wrongly influenced by their peers is overwhelming. Next we must look at the possible advantage of corporal punishment for police who work in the prisons. Instead of mob rule where at any moment a criminal knows he can go wild and face no real punishment a jailor would be able to carry a leather strap at his side to use on a inmate when they get out of line. There are numerous Constitutional arguments that liberals could raise against this. Even officers in the military at one time had the authority to use corporal punishment on enlisted men.