jeudi 26 novembre 2020

Deceitful but innocent-looking random number generator seed

What would be the the best RNG seed controllable by sinister developer / software user, which - when discovered - could be explained as silly and innocent developer mistake?

Example: some kind of setSeed(CURRENT_MILLISECOND) with usage of macro, but somewhere else make that macro multiply current second by 1000, making output predictable.




Aucun commentaire:

Enregistrer un commentaire