repositorypackage
0.0.0-20240623185058-b93bef0ccd2d
Repository: https://github.com/sultaniman/pwc.git
Documentation: pkg.go.dev
# README
PWC
If you need to remember dozens of passwords without having to remember all of them then with password cards you can have it. Each password card is a set of grids with random letters and digits on it has 8 rows which have different colors, columns mapped to different symbols. Everything needed is to remember a combination of a symbol and a color or an index of row, then compose the letters and digits of your passwords from there.
šØ Build
$ go build -o pwc
š¾ Installation
Please download binaries from the latest release or you can also install it using go
$ go get -u github.com/sultaniman/pwc
š„ļø CLI Use
$ ./pwc classic -h
Example card
ā How it works
$ ./pwc explain
Alphabet
Header symbols: ā ā”ā²ā³āāā
āāāā¹āŗā ā£ā„ā¦ā«ā¬Ā„Ā£$!?”¿āāā©ļæ½
Numbers: 0123456789
Alphanumeric: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
Alphanumeric and symbols: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#$%!&(MISSING)*<>?ā¬+{}[]()/\
Algorithm
1. Render the first row with shuffled "ā ā”ā²ā³āāā
āāāā¹āŗā ā£ā„ā¦ā«ā¬Ā„Ā£$!?”¿āāā©ļæ½",
2. Iterate over the rest of the rows and for each randomly selected letter we shuffle the entire alphabet
a. If the card should include symbols then
use the alphanumeric and symbols alphabet for every even character
and use the alphanumeric alphabet for the odd columns,
b. If the card should have a digits area then
use the numeric alphabet for the lower half of the rows 5-8.
Row colors
White #ffffff, Gray #c0c0c0, Red #ffc0c0, Green #c0ffc0, Yellow #ffffc0, Blue #c0c0ff, Magenta #ffc0ff, Cyan #c0ffff
Row colors
HEX | RGB | Color |
---|---|---|
#ffffff | rgb(255,255,255) | $\color{rgb(255,255,255)}{\textsf{White}}$ |
#c0c0c0 | rgb(192,192,192) | $\color{rgb(192,192,192)}{\textsf{Gray}}$ |
#ffc0c0 | rgb(255,192,192) | $\color{rgb(255,192,192)}{\textsf{Red}}$ |
#c0ffc0 | rgb(192,255,192) | $\color{rgb(192,255,192)}{\textsf{Green}}$ |
#ffffc0 | rgb(255,255,192) | $\color{rgb(255,255,192)}{\textsf{Yellow}}$ |
#c0c0ff | rgb(192,192,255) | $\color{rgb(192,192,255)}{\textsf{Blue}}$ |
#ffc0ff | rgb(255,192,255) | $\color{rgb(255,192,255)}{\textsf{Magenta}}$ |
#c0ffff | rgb(192,255,255) | $\color{rgb(192,255,255)}{\textsf{Cyan}}$ |
P.S. it was inspired by https://www.passwordcard.org/en.
⨠š āØ