2
Watch
0
Star
1
Fork
0
Issue

Generate a password for any account

QMHTMY
QMHTMY
pushedAt 1 year ago

QMHTMY/PasswdMakeRust

PasswdMakeRust

[中文] Make a password for any account via a seed.

Usage [Add release/PasswdMake to /usr/local/bin]

bash
    $ # 1. copy executable file to a dir
    $ sudo cp release/PasswdMake /usr/local/bin/PasswdMake
    $
    $ # 2. [optional] if you like compile, do it and cp to a dir
    $ # cargo build --release
    $ # sudo cp target/release/main /usr/local/bin/PasswdMake
    $
    $ # 3. use PasswdMake to generate a password for any account
    $ PasswdMake --seed qqxxw # default len is 16
    $ PasswdMake --seed jdxxw --len 20
    $ PasswdMake -s wechatxxw # --seed equals -s, --len equals -l
    $ PasswdMake -s wechatxxw -l 21

Example

passwordmsh.png

Use pass to save the long-complex password as below

bash
    $ sudo apt install pass # init set pass save dir...
savepasswd