Giter VIP home page Giter VIP logo

passphrase's Introduction

````
______                   _                        
| ___ \                 | |                       
| |_/ /_ _ ___ ___ _ __ | |__  _ __ __ _ ___  ___ 
|  __/ _` / __/ __| '_ \| '_ \| '__/ _` / __|/ _ \
| | | (_| \__ \__ \ |_) | | | | | | (_| \__ \  __/
\_|  \__,_|___/___/ .__/|_| |_|_|  \__,_|___/\___|
                  | |                             
                  |_|                             
                  
Version: 0.0.1
Generate good enough, easy to remember passwords from phrases.
````

Passphrase uses [Markov chains](http://en.wikipedia.org/wiki/Markov_chain)
modeled from any text file to generate easy to remember passwords.

Deterministic passwords are generated from a phrase by using a cryptographic
SHA1 hash of the phrase to navigate through the chain, instead of random
probabilities.

Using Markov chains makes the passwords pronounceable, and yet not be 
exact dictionary words. Password strength, length, and characters can 
be controlled through options. 

Though passwords generated may not be cryptographically strong, they 
are good enough. It gived a good enough password that can be remembered.
It is somewhere in between easy passwords that are based on dictionary 
words and difficult ones that are often written down on a piece of paper. 


Passphrase is structured like a python package, but not yet registered as one. Set `PYTHONPATH` to the `passphrase` folder and run `bin/phrasepw.py` to try it out.


````
usage: phrasepw.py [-h] [--website WEBSITE] [--id ID] [--length LENGTH]
                   [--ease {0,1,2,3,4,5}] [--case {1,2,3}] [--numeric]
                   [--special]
                   wordlist phrase

Phrase => Password

positional arguments:
  wordlist              text file to use as a source of patterns
  phrase                phrase to convert to a password

optional arguments:
  -h, --help            show this help message and exit
  --website WEBSITE     website for which to create password
  --id ID               login id on the website
  --length LENGTH       length of password required
  --ease {0,1,2,3,4,5}  how easy should it be
  --case {1,2,3}        1: uppercase, 2: lowercase, 3: mixed case
  --numeric             whether to include numbers
  --special             whether to include special characters
  
Note: optional arguments website and id are used along with phrase
to make passwords unique. If supplied, the generated password will
be different for every combination of id and website, even with the
same phrase.
````

passphrase's People

Contributors

tanmaykm avatar

Watchers

James Cloos avatar  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.