Skip to content

Instantly share code, notes, and snippets.

@OrderAndCh4oS
Created December 23, 2018 23:31
Show Gist options
  • Save OrderAndCh4oS/99e92fb019ff17e617ebde72d53d5e9b to your computer and use it in GitHub Desktop.
Save OrderAndCh4oS/99e92fb019ff17e617ebde72d53d5e9b to your computer and use it in GitHub Desktop.
Terminal Generate Secret Key
function secret() {
</dev/urandom tr -dc 'A-Za-z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' | head -c 32 ; echo
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment