Answer by otus for Is it safe to seed a random number generator from system...
All Bouncy Castle's random generator classes seem to derive from java.security.SecureRandom, where seed doesn't mean "initialize state to this". It means "stir in any entropy from this". That means...
View ArticleAnswer by Edward Ned Harvey for Is it safe to seed a random number generator...
Yes, it is unsafe to seed a PRNG with only with the system time. No, that's not all Bouncy Castle's SecureRandom does. The SecureRandom default constructor calls SetSeed(GetSeed(8)); which calls...
View ArticleIs it safe to seed a random number generator from system time?
It seemed to me that the Bouncy Castle SecureRandom class for C#/.NET only uses DateTime.Now.Ticks as its seed by default. I was wrong, but wouldn't that be unsafe to do?
View Article
More Pages to Explore .....