Crates.io | mkpass |
lib.rs | mkpass |
version | 0.1.1 |
source | src |
created_at | 2022-11-12 05:08:59.5544 |
updated_at | 2024-05-25 13:08:53.370461 |
description | Command line tool to generate passwords |
homepage | |
repository | https://github.com/trayvonpan/mkpass/ |
max_upload_size | |
id | 713451 |
size | 14,736 |
Command line tool to generate passwords, built with Rust.
Using cargo:
cargo install mkpass
$ mkpass --help
Command line tool to generate passwords
Usage: mkpass [OPTIONS]
Options:
-u Uppercase
-l Lowercase
-n Number
-s Special character
-e Extended special character
--length <LENGTH> Password length [default: 32]
--count <COUNT> password count [default: 1]
-h, --help Print help information
-V, --version Print version information
Simply generate a password of length 32:
$ mkpass
3oUMCZGk97stX6NfQz70iaVJSBYpavmN
Specifies the length of the password:
$ mkpass --length=64
QxuO89TALuho3Pk1wuiLsfKPzTqvT63F9LG0lusio18uOQD4vym51Ko9fxDDA7Sb
Specify the number of passwords:
$ mkpass --count=10
XDeXtkkLALjpz9MmcVYPOa28V0Ye2XKb
9AWEQjeeonrgRtQc6d4vRVjRWkAsxZMh
9X1I0ee41xtXzmLciCnA1bHmA2khL1vT
dc64sy92rY9jnOApYey1mkluMsc2xAjU
aGNuxnNi61hige0xgoEscDmO15fzW7Rb
pwiG8eXHRsH8eklBq9b5pPgp0CPqQj0F
fDDpOrLYbJHIbI1m4Bpam7jZbnYmMcRJ
GiWpCtH5Ppx1wpkS8v6nZieHZKuoPlVO
sIPg1n7Y8KYwOyVHHBO7LQrxQcMeo2ja
mpzenLxDMtOg5D5LlDdrOcs4ycYMPxss
Specify the charset of passwords:
$ mkpass -luns
1PlaUp@cl&U9SLL*Oo3nsFF4&*e8uCor