The right way to generate the secretnumber