* Resizeable passwords
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
size=64
|
||||
alnum() {
|
||||
cat /dev/urandom | tr -dc [:alnum:] | fold -w 32 | head -1
|
||||
cat /dev/urandom | tr -dc [:alnum:] | fold -w $size | head -1
|
||||
}
|
||||
|
||||
alnum_spec() {
|
||||
cat /dev/urandom | tr -dc [:alnum:]'!@#$%^&*()-_=+' | fold -w 32 | head -1
|
||||
cat /dev/urandom | tr -dc [:alnum:]'!@#$%^&*()-_=+' | fold -w $size | head -1
|
||||
}
|
||||
|
||||
_help() {
|
||||
|
||||
Reference in New Issue
Block a user