A former inmate has warned controversial new Australian laws could have the unintended effect of turning young offenders into hardened criminals.