mathix420 / NimingCypher

Encryption module for instant messaging :eagle:
Other
4 stars 0 forks source link

Use `secrets` module #2

Closed jferard closed 6 years ago

jferard commented 6 years ago

https://docs.python.org/3/library/random.html states:

Warning The pseudo-random generators of this module should not be used for security purposes. For security or cryptographic uses, see the secrets module.

I don't think this is a real flaw in the method, but it seems wise to use the right module.

mathix420 commented 6 years ago

It's corrected thanks !