Skip to content

Instantly share code, notes, and snippets.

@dwardu89
Created April 4, 2018 09:29
Show Gist options
  • Save dwardu89/91c6cc759b8a5a44278947a33bd55ed6 to your computer and use it in GitHub Desktop.
Save dwardu89/91c6cc759b8a5a44278947a33bd55ed6 to your computer and use it in GitHub Desktop.
Generates a random password
#!/usr/bin/env bash
RANDOM_PASSWORD=$(date +%s | sha256sum | base64 | head -c 32 ; echo)
echo $RANDOM_PASSWORD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment