[$] Python's two modules for random numbers

Python's random and secrets modules both generate random values, but only secrets is suitable for passwords and security tokens. The discussion revisits a historical pattern of using random for those purposes despite documentation warning against cryptographic use.

Coverage 1 publisher

  1. LWN.net

    [$] Python's two modules for random numbers

Articles stay on their publishers’ sites; each link opens the original.