News for hackers. Stuff that matters.
Re:[APK] Seeder entropy generator to provide significant lag... by supergauntlet on Thursday January 03, 2013 @12:02PM (#5003268)
I thought it was pretty silly how he went through all this trouble to essentially do the same thing as symlinking /dev/random and /dev/urandom.
Re:[APK] Seeder entropy generator to provide significant lag... by DanBC on Thursday January 03, 2013 @12:18PM (#5003355)
Adding /dev/urandom seems like a suboptimal solution. Crypto is hard, and very clever people get bitten by flaws in things like randomness and seeding prngs.
Re:[APK] Seeder entropy generator to provide significant lag... by supergauntlet on Thursday January 03, 2013 @12:43PM (#5003474)
I think the problem they were trying to fix/remedy was that /dev/random was getting called for ALL random functions in the JVM. So every time an android app called for a random number, it would go to /dev/random.

Nobody would suggest using /dev/urandom for cryptography, but it's sufficient for a random number call, especially because /dev/random is blocking.