GithubHelp home page GithubHelp logo

vexedpy / passwordcardgenerator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from derschinken/passwordcardgenerator

0.0 0.0 0.0 3.55 MB

Password Card Generator

Home Page: https://PyPI.org/project/PasswordCardGenerator/

License: The Unlicense

Python 82.73% Batchfile 0.58% CSS 9.22% HTML 7.47%

passwordcardgenerator's Introduction

Password Card Generator

Docs are coming soon!
Right now this has to do it:

from PasswordCardGenerator import PasswordCard

keyword = "YourKeyword"

# Create a password card
card1 = PasswordCard(keyword_length=len(keyword))
# You can also just pass in the keyword
# You can also specify how long a segment should be (default is 3)
# PasswordCard(keyword_length=len(keyword), segment_length=5)

# incase you dont know what i mean with segment:
# |  1 | lfx  | ...
#        ^^^ this is an segment

# Print the password card
print(card1)
# Get the password for keyword
print(card1.get_password(keyword))

# save the password card as an image (default)
card1.save("test_card.png")
# save the password card as plain text
card1.save("test_card.txt", txt=True)

# You can get specific items
row = 2
column = 5
print(card1[row, column])

# You can get the raw data
# card1.raw()

How it works

You need a Keyword for a Password card to work!
To get the password you take one character at a time.

To get the row: Look in what row your character appears
To get the column: Look at what position your character is.

Then you take what is in [column] in [row] and put it on the end of the password
Do that for every character in your keyword, and you got yourself a secure password

Example:

|    | ABC   | DEF   | GHI   | JKL   | MNO   | PQR   | STU   | VWX   | ZY   | .   |
|----|-------|-------|-------|-------|-------|-------|-------|-------|------|-----|
|  1 | 3T,   | 2C8   | 2lk   | ZMJ   | br]   | sPj   | ,X1   | ZMq   | IAp  | LPG |
|  2 | h2R   | ?XH   | wng   | UkQ   | 7}g   | }'j   | TBg   | hC3   | Hub  | ?pA |
|  3 | GSI   | r0z   | rtm   | n9N   | OID   | B6T   | noV   | P9n   | g,k  | ZRU |
|  4 | wVc   | 1'?   | K6N   | kc%   | EY}   | ]8K   | ImI   | '[Z   | Mv;  | cd1 |
|  5 | nz#   | h}a   | pX6   | ?1;   | D89   | F39   | rDU   | 3l8   | n7T  | 9Qq |
|  6 | U4x   | H[j   | ?Fe   | tJi   | Q.d   | T!6   | .rx   | _'s   | YVh  | q_' |
|  7 | Jyi   | hyN   | 73{   | {73   | Wez   | %{C   | IJ}   | QVm   | ipj  | YK, |
|  8 | LlX   | fYO   | YUg   | !ne   | 1n{   | H{\   | 9_F   | !?!   | rbx  | b#a |

Our keyword is: VerySafe

So we look in what row does V, the first letter, appear in -> row VWX
Now we look at what position the V, the first letter, is -> 1

So we append the 3 characters that are in row VWX at 1 (ZMq)
Our password right now is: ZMq

and repeat!

so we look in what row e, the second letter, does appear in -> row DEF
now we look at what position the e, the second letter, is -> 2

so we append the 3 characters that are in row DEF at 2 (?XH)
Our password right now is: ZMq?XH
...
...
Our password right now is: ZMq?XHB6TMv;rDUU4xhyNfYO

passwordcardgenerator's People

Contributors

derschinken avatar vexedpy 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.