change the sec_rand function to a cleaner implementation of unbiased number generation
change the sec_rand function to a cleaner implementation of unbiased number generation

atoponce/webpassgen,atoponce/webpassgen