Download the PHP package elcodedocle/chbspassgen without Composer
On this page you can find all versions of the php package elcodedocle/chbspassgen. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elcodedocle/chbspassgen
More information about elcodedocle/chbspassgen
Files in elcodedocle/chbspassgen
Package chbspassgen
Short Description Safe and easy to remember high entropy password generator. Dictionary based, yet brute force resistant.
License MIT
Homepage https://github.com/elcodedocle/chbspassgen
Informations about the package chbspassgen
chbspassgen
Generate strong passwords you can easily remember, with lots of entropy
Copyright (C) 2014 Gael Abadin
License: MIT Expat
Motivation
I wanted to build a class able to pick random words from a dictionary in a safe way, so they could be suggested as safe passwords (Correct, horse. That's a battery staple).
How to use
Basic usage:
That's it. Pretty easy, huh? There are many parameters you can tinker with, though:
Check the code (or generate the docs using phpdocumentor) if you want more info on tweaks and available parameters.
Web app
There is also available a little demo web app (passgenController.php, passgenClientController.js and password_generator.html) you can load by uploading all the files to a public folder on your web server and pointing your browser to password_generator.html
Here is a demo: https://synapp.info/password-generator
Acks
Caffeine.
Peter Norvig for being such an awesome professor (Check out his Stanford University course on AI) and publishing the compilation of the 1/3 million most frequent English words on the natural language corpus data from where the word list used by the default dictionary source for this project has been derived (Also thanks to Josh Kaufman too for the tip).
Randall Munroe. He is funny, smart, and inspiring. Thanks, Mr. Munroe.
And that's all for now, folks. If you like this project, feel free to buy me a beer ;-)
bitcoin: 1A7rSMddjwPbxFW71ZD724YaQLa8HCAJTT
dogecoin: DAQBLYtCjBnZ8eGdcaR7kE517Ew5tptUeW
paypal: http://goo.gl/RQVD5u
Have fun.-