Skip to content

Instantly share code, notes, and snippets.

@ratpik
Created April 25, 2021 16:49
Show Gist options
  • Save ratpik/90ae6239660079f194676358cf19d9e8 to your computer and use it in GitHub Desktop.
Save ratpik/90ae6239660079f194676358cf19d9e8 to your computer and use it in GitHub Desktop.
Generate passwords command line
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