samedi 22 juillet 2023

Is the Windows RNG safe immediately after starting laptop?

Suppose that I startup my Windows 10 laptop, and the thirst thing I do is run a Python algorithm that generated a random number. The Python algorithm uses the CryptGenRandom algorithm from Windows. This algorithm gathers entropy from multiple sources, including timestamps of clicks of the user. However, when the laptop has just started up, there has not been a lot of data that the laptop could use for entropy. Therefore, is it possible that there is not enough entropy in the beginning, and that the first random number I generate is not completely random/safe?




Aucun commentaire:

Enregistrer un commentaire