Requiring persons convicted of sex offenses to register as sex offenders within a specified period before being released from custody.