my dotz
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add pwgen

+11
+11
bin/pwgen
··· 1 + #!/bin/sh 2 + # 3 + # generate a password of N length 4 + 5 + pass_length="$1" 6 + 7 + # Regarding usage of '/dev/urandom' instead of '/dev/random'. 8 + # See: https://www.2uo.de/myths-about-urandom 9 + pass=$(LC_ALL=C tr -dc "_A-Z-a-z-0-9" 2> /dev/null < /dev/urandom | 10 + dd ibs=1 obs=1 count="${pass_length:-50}" 2>/dev/null) 11 + printf "$pass\n"