Hacker News new | ask | show | jobs
by mykii 4002 days ago
http://ifsec.blogspot.fr/2012/05/cross-domain-mathrandom-pre...
1 comments

awesome and scary at the same time. awescary. If I understood it correctly this should work for nodejs servers as well, for example when they create random ids for users or urls.
except that nodejs generally uses crypto.randomBytes() and the Google V8 seems to have a strongest Math.random() but the approach is not clear