-
Alphanumeric password with length 12
$ repassgen '[:alnum:]{12}'
q8nrqhPQFNqj
-
Alphabetic password with length 12
$ repassgen '[:alpha:]{12}'
wiADcFkhpjsk
-
Lowercase alphabetic password with length 16
$ repassgen '[:lower:]{16}'
rnposblbuduotibe
-
Uppercase alphabetic password with length 16
$ repassgen '[:upper:]{16}'
TQZZJHKQRKETOFNZ
-
Numeric password with length 8
$ repassgen '[:digit:]{8}'
47036294
-
A custom combination: 7 uppercase, space, 7 lowercase, space, 2 digits
$ repassgen '[:upper:]{7} [:lower:]{7} [:digit:]{2}'
UOHMGVM toubgvs 73
-
Password with length 12, using only Base64 characters
$ repassgen '[:b64:]{12}'
6+BA71WCy90I
-
Password with length 12, using only URL-safe Base64 characters
$ repassgen '[:b64url:]{12}'
j15w_qTncikR
-
Password with length 16, using only Crockford's Base32 characters (lowercase)
$ repassgen '[:b32:]{16}'
zmt87n9hpcd2w28h
-
Password with length 16, using only Crockford's Base32 characters (uppercase)
$ repassgen '[:B32:]{16}'
HJ48VSR4Y0DHQ9EV
-
Password with length 16, using Crockford's Base32 characters and punctuations
$ repassgen '[:b32::punct:]{16}'
20s:z.5mbwws474y
-
Specify character range manually: lowercase alphebetic with length 16
$ repassgen '[a-z]{16}'
qefqiocrabpiaags
-
Specify character range manually: alphanumeric with length 12
$ repassgen '[a-zA-Z0-9]{12}'
XcwDAagzMlwv
-
Include non-random characters in the password (here: Test / , .)
$ repassgen 'Test-[:alpha:]{4}/[:alpha:]{4},[:alpha:]{4}.[:alpha:]{4}'
Test-Jcis/uLwq,SazR.CEFJ
-
A 16-digit number similar to a credit card number
repassgen '[:digit:]{4}-[:digit:]{4}-[:digit:]{4}-[:digit:]{4}'
3996-9634-1459-0656
-
Alphabetic password with a length between 12 and 16 characters
$ repassgen '[:alpha:]{12,16}'
uamePKmuUUUcI
-
Gerenate random bytes, then run Base64 encode function
$ repassgen '$base64($byte(){12})'
bsOuN8KuRsOFw5jClkDDjMOrFA==
-
Gerenate random bytes, then run Crockford's Base32 encode function
$ repassgen '$base32($byte(){12})'
c51e2kk1aafe3jngm3gxqrazpwqva
-
Use - or [ or ] inside [...]
$ repassgen '[.\- ]{50}'
- .-.-- --.------- --.. -.---.-.. -- --..-.. .---
$ repassgen '[a-z\[\]\-]{20}'
nylhjcdq-qcaajvpcxuo
-
Use whitespace characters like newline or tab (inside or outside [...])
$ repassgen '[a-z\t]{5}\t[a-z\t]{5}\n[a-z\t]{10}'
caelk zccqm
zpbgjba pm
-
Generate 12 random mnemonic words from BIP-39 English words
$ repassgen '$bip39word(12)'
cinnamon purity funny pigeon arrive equal foil alter life accident bar roast
-
Generate 16 random bytes, then encode it to BIP-39 English mnemonic words
$ repassgen '$bip39encode($byte(){16})'
useful come fall plunge breeze side skill another boil expose essence about