News for hackers. Stuff that matters.
Re:Predicting the next Math.random() in Java by sgift on Monday September 01, 2014 @02:27PM (#8254110)
How far do you want to go? The Javadocs state it plain and clear that this is not cryptographically secure. Is AlmostRandom enough? Maybe we should force people to set an enum? new AlmostRandom(AlmostRandomCertification.YES_I_M_NOT_AN_IDIOT_AND_WONT_USE_THIS_FOR_CRYPTOGRAPHIC_PURPOSES)? You have to draw the line somewhere.
Re:Predicting the next Math.random() in Java by jonahx on Monday September 01, 2014 @02:35PM (#8254145)
True, although honestly your tongue-in-cheek enum example is probably closer to where the line should be.
Re:Predicting the next Math.random() in Java by cornewut on Monday September 01, 2014 @02:59PM (#8254232)
Also a nice reminder: "Never write your own crypto"
Re:Predicting the next Math.random() in Java by eru on Monday September 01, 2014 @08:49PM (#8255246)
(Outside of education.)