High quality, simple random password generator

前端 未结 27 2490
渐次进展
渐次进展 2020-12-22 17:06

I\'m interested in creating a very simple, high (cryptographic) quality random password generator. Is there a better way to do this?

import os, random, strin         


        
27条回答
  •  不思量自难忘°
    2020-12-22 17:31

    I know this question was posted back in 2011, but for those coming to it now in 2014 and beyond, I have one thing to say: RESIST THE URGE TO REINVENT THE WHEEL.

    In these situations your best bet is to search for open-source software, e.g., constrain your search to github results. By far the best thing I've found:

    https://github.com/redacted/XKCD-password-generator

提交回复
热议问题