Child sex offenders in Indonesia may be chemically castrated and planted with microchips, according to an emergency decree signed by Indonesian President Joko Widodo Wednesday.
The regulation was issued following at least two rape and murder cases in which the victims were teenagers.
"Extraordinary crime requires extraordinary measures," Joko said, announcing the new law at the presidential palace.
The government has described recent attacks on teenagers as a "crisis." Joko said in his address that the attacks had "disturbed public order."
The decree also allows judges to hand down life sentences or death sentences to people convicted of child rape, Joko said. The minimum sentence will be 10 years.
Convicts can be microchipped for easy monitoring by authorities and their names may be published.
This month a court on Sumatra island sentenced seven teenagers to 10 years in prison for raping and murdering a 14-year-old girl in April.
In another case that sparked outrage this month, two men were arrested on the outskirts of Jakarta for allegedly raping and killing an 18-year-old girl by assaulting her with a wooden hoe.