2024-03-28 13:28:17 +02:00
|
|
|
# Password generator
|
|
|
|
* can generate multiple passwords at once (separated by \n)
|
2024-03-28 14:41:28 +02:00
|
|
|
* can use Cyrillic/Japanese/Chinese/Emoji character sets
|
2024-03-28 13:28:17 +02:00
|
|
|
* uses at least one character from each character set
|
|
|
|
|
|
|
|
## Build
|
|
|
|
|
|
|
|
```sh
|
|
|
|
go build .
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```sh
|
|
|
|
Usage of ./passgen:
|
2024-03-28 14:41:28 +02:00
|
|
|
-L int length of the generated password (default 16)
|
|
|
|
-c int how many passwords to generate (default 1)
|
|
|
|
|
|
|
|
-l use lowercase ascii characters
|
|
|
|
-U use uppercase ascii characters
|
|
|
|
-n use numbers
|
|
|
|
-s use special characters
|
|
|
|
-S use spaces
|
|
|
|
--unicode-cyrillic use unicode Cyrillic characters
|
|
|
|
--unicode-chinese use unicode Chinese characters
|
|
|
|
--unicode-japanese use unicode Japanese characters
|
|
|
|
--unicode-emoji use unicode emoji characters
|
|
|
|
--all use all character sets
|
2024-03-28 13:28:17 +02:00
|
|
|
```
|