vendredi 29 mai 2020

How good is Python secrets.SystemRandom in Windows 10?

I want to use Python for basic cryptographic applications with Windows 10.

I see that secrets uses secrets.SystemRandom which in turn uses os.urandom() for random number generation.

How good is os.urandom in Windows 10?

From the Python documentation I see that os.urandom() in Windows uses CryptGenRandom() which is deprecated by Microsoft and has some security flaws as per Wikipedia.




Aucun commentaire:

Enregistrer un commentaire