Git Product home page Git Product logo

passphrase's Introduction

passphrase

Generates a passphase of variable length and complexity. Based on Diceware Passphrase generation using EFF's short and long word lists

usage: wordlists.py [-h] [-s SEPARATOR] [-S] [-r char char] [-rc REPLACECOUNT]
                    [-C]
                    words

positional arguments:
  words                 Number of words to roll for or how long the phrase
                        will be

optional arguments:
  -h, --help            show this help message and exit

Word Separation options (optional):
  -s SEPARATOR, --separator SEPARATOR
                        Optional separator character between words.
  -S, --randseparator   Use a random separator between words

Replace Characters (optional):
  Replace characters in the phrase options

  -r char char, --replace char char
                        replace characters with another
  -rc REPLACECOUNT, --replacecount REPLACECOUNT
                        How many characters in the phrase to replace. Default
                        ALL
  -C                    RaNdom CapItaLiZe the phrase

You can a separator or use a random separator

$ python wordlists.py 4 -s "-"
sixth-wildcard-gala-cattishly

$ python wordlists.py 4 -S
manor*feast_acutely.sky

Replace characters

$ python wordlists.py 4 -r a 4
educ4tedcontort4ppl4useflint

$ python wordlists.py 4 -r a 4 -s .
overjoyed.h4te.debit.drove

#only replace the first 3 characters
$ python wordlists.py 6 -r a 4 -rc 3 -s .
cro4k.joyfully.p4rtition.popper.s4ge.dragonfly

Random Capitalize as well and all of the above.

$ python wordlists.py 3 -C
StUnTrefurbIshZesty


$ python wordlists.py 6 -r o 0 -rc 3 -S -C
juice?gag-chaper0ne*happinesS*fr0nt-cRavinG


passphrase's People

Contributors

psywhale avatar

Watchers

 avatar  avatar

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.