Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- geek@liv-inspiron:~$ pwgen 13 7
- Eu7Teadiphaec giepahl3Oyaiy iecoo9Aetaib4 phaiChae6Eivi athoo3igee8Co
- Iphu4ufeDeelo aesoYi2lie9he
- geek@liv-inspiron:~$ pwgen -s 13 7
- eAfycrPlM4cYv 4MRXmZmyIVNBp D8y71iqjG7Zq7 FQRHcserl4R8O yRCUtPtV3dsqV
- 0vJpp2h0OrgF1 QTp7MKtJyTrjz
- geek@liv-inspiron:~$ gpw 7 13
- sreepoidahsas
- risadiestinge
- ntodynesssine
- deodstestress
- natinglumperm
- riasigentspir
- enderiferback
- head /dev/urandom | tr -dc A-Za-z0-9 | head -c 13 ; echo ''
- </dev/urandom tr -dc 'A-Za-z0-9!"#$%&'''()*+,-./:;<=>?@[]^_`{|}~' | head -c 13 ; echo
- LC_ALL=C tr -dc 'A-Za-z0-9!"#$%&'''()*+,-./:;<=>?@[]^_`{|}~' </dev/urandom | head -c 13 ; echo
- openssl rand -base64 12
- openssl rand -hex 12
- cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1
- $ echo $RANDOM | tr '[0-9]' '[a-zA-Z]'
- bfeci
- $ echo $RANDOM | tr '[0-9]' '[a-zA-Z]'
- cijjj
- echo $(for((i=1;i<=13;i++)); do printf '%s' "${RANDOM:0:1}"; done) | tr '[0-9]' '[a-zA-Z]'
- < /dev/urandom tr -cd "[:print:]" | head -c 32; echo
- tr -dc A-Za-z0-9 < /dev/urandom | dd bs=100 count=1 2>/dev/null
- LC_ALL=C tr -dc A-Za-z0-9 </dev/urandom | dd bs=100 count=1 2>/dev/null
- md5pass [password] [salt]
- md5pass word
- $1$.MUittVW$j.XDTF1QRnxqFdXRUiSLs0
- md5pass word 512
- $1$512$.0jcLPQ83jgszaPT8xzds0
- shuf --random-source=/dev/urandom --repeat --head-count=20 file_with_characters | tr --delete 'n'
- shuf --random-source=/dev/urandom --repeat --head-count=7 file_with_words | tr 'n' ' '
- apg -MSNCL -m 5 -x 10
- @OpVeyhym9
- 3:Glul
- 3DroomIc?
- hed&Os0
- NefIj%Ob3
- 35Quok}
- shuf -zer -n20 {A..Z} {a..z} {0..9}
- musl64 [~]$ secpwgen
- USAGE: secpwgen <-p[e] | -A[adhsy] | -r | -s[e]> N
- PASSPHRASE of N words from Diceware dictionary
- -p generate passphrase
- -pe generate enhanced (with symbols) passphrase
- SKEY PASSWORD of N words from S/Key dictionary
- -s generate passphrase
- -se generate enhanced (with symbols) passphrase
- ASCII RANDOM of N elements (at least one option MUST be present)
- -A Each letter adds the following random elements in output:
- a alphanumeric characters
- d decimal digits
- h hexadecimal digits
- s special characters
- y 3-4 letter syllables
- RAW RANDOM
- -r output BASE64 encoded string of N random BITS
- -k output koremutake encoding of N random BITS
- musl64 [~]$ secpwgen -Aas 13
- ----------------
- WK5#*V<]M3<CU ;ENTROPY=67.21 bits
- ----------------
- INFO: destroying random number generator.
- INFO: zeroing memory.
- musl64 [~]$ secpwgen -Aa 13
- ----------------
- GP0FIEBM9Y3BT ;ENTROPY=67.21 bits
- ----------------
- INFO: destroying random number generator.
- INFO: zeroing memory.
- musl64 [~]$ secpwgen -p 5
- ----------------
- wq seen list n8 kerr ;ENTROPY=65.00 bits
- ----------------
- INFO: destroying random number generator.
- INFO: zeroing memory.
- musl64 [~]$ secpwgen -r 512
- ----------------
- h62lL7G4gwh3/j9c7YteQvVXoqJrQKKPWVR3Lt7az36DcfWZWtUgBT19iwmJBwP4UahNzPe7qYD7OcklUFpCzQ== ;ENTROPY=512.00 bits
- ----------------
- INFO: destroying random number generator.
- INFO: zeroing memory.
- set="abcdefghijklmonpqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
- n=6
- rand=""
- for i in `seq 1 $n`; do
- char=${set:$RANDOM % ${#set}:1}
- rand+=$char
- done
- echo $rand
- date +%s | sha256sum | base64 | head -c 12
Add Comment
Please, Sign In to add comment