Created
April 25, 2021 16:49
-
-
Save ratpik/90ae6239660079f194676358cf19d9e8 to your computer and use it in GitHub Desktop.
Generate passwords command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl rand -base64 32 | |
date +%s | sha256sum | base64 | head -c 32 ; echo | |
< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32};echo; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment