Sean Wei says to SITCON BOT Testpool pwgen.php is opensourced on Github. Link: gist:MingTsay/pwgen.php