Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Your RNG is not cryptographically secure, I'd wager.

http://3v4l.org/DC0RM



I thought instead of cutting off out of range results we could num*85/4294967296 and round it. But now realized buckets for rounding won't be of equal size and it's wrong.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: