Hacker News new | past | comments | ask | show | jobs | submit login

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.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: