Skip to content

Instantly share code, notes, and snippets.

@rayyee
Created September 16, 2021 04:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rayyee/22a8600bc2526759e1a453dad59b2aa2 to your computer and use it in GitHub Desktop.
Save rayyee/22a8600bc2526759e1a453dad59b2aa2 to your computer and use it in GitHub Desktop.
random hash to password
date +%s | sha256sum | base64 | head -c 32 ; echo
openssl rand -base64 32
< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c6
< /dev/urandom tr -dc '12345!@#$%qwertQWERTasdfgASDFGzxcvbZXCVB' | head -c8; echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment