We don't have public flogging any more, despite the media,
Those in his community will know, you can't keep that a secret.
When he gets out he will no doubt be on the sex offenders register
He is at present at risk of suicide. We don't have public executions either and have a duty to preserve life.
I don't actually get what you don't get, although appreciate you are reacting to the emotive aspect of the crime involved