GithubHelp home page GithubHelp logo

l0b0 / xkcd-passphrase-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from first20hours/google-10000-english

0.0 3.0 1.0 183 KB

Generate a simple, secure passphrase with a single command

Home Page: https://gitlab.com/victor-engmark/xkcd-passphrase-generator

License: GNU Affero General Public License v3.0

Shell 100.00%

xkcd-passphrase-generator's Introduction

XKCD passphrase generator

Simply run ./generate.sh to generate a passphrase based on the XKCD method: Password Strength comic by Randall Munroe

By default this uses the 2,048 most popular words in the English language. To use the N (between 4 and 10,000) most popular words instead simply run ./generate.sh N. For example, ./generate.sh 10000 prints the strongest password this can generate.

The word list is based on another repository. Many thanks to Josh Kaufman, Peter Norvig and Google for contributing this. If anyone knows of a list of most popular contemporary English words which is definitely Creative Commons licensed or in the public domain, please let me know.

Using your own word list is easy - simply replace words.txt with your own file.

Adapting this to other languages would be easy. If you can provide a list of at least the 2,048 most popular words in a language (sorted by decreasing popularity) I can adapt this program for your language. Please file an issue and include a link to the word list.

Notes:

License

The code is licensed under the GNU Affero GPL v3+.

xkcd-passphrase-generator's People

Contributors

daviddliu avatar l0b0 avatar skotzko avatar vgel avatar worldlywisdom avatar

Watchers

 avatar  avatar  avatar

Forkers

looppair

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.