17 lines
298 B
Bash
17 lines
298 B
Bash
# generate passwords
|
|
pwg() { a__pass_word_gen "${@}"; }
|
|
a__pass_word_gen() {
|
|
pwgen \
|
|
-1 \
|
|
--num-passwords 1048576 \
|
|
--secure \
|
|
"${@}"
|
|
}
|
|
|
|
# generate passwords with symbols
|
|
pwgs() { a__pass_word_gen_symbols "${@}"; }
|
|
a__pass_word_gen_symbols() {
|
|
a__pass_word_gen \
|
|
--symbols \
|
|
"${@}"
|
|
}
|