[Python-ideas] PEP 504: Using the system RNG by default

Random832 random832 at fastmail.com
Thu Sep 17 19:08:37 CEST 2015

On Thu, Sep 17, 2015, at 12:36, Nick Coghlan wrote:
> You can get more exotic with full arbitrary alphabet password and
> passphrase generators, but I think we're getting beyond stdlib level
> functionality at that point - it's getting into the realm of password
> managers and attack software.

I think it's important to at least have a way to get a random number in
a range that isn't a power of two, since that's so easy to get wrong.
Even the libc arc4random API has that in arc4random_uniform.

At that point people can build their own arbitrary alphabet password
generators as one-liners.

More information about the Python-ideas mailing list