Last active
January 23, 2017 02:03
-
-
Save Mcostart/da55c097535a91177cec36111c5df9dc to your computer and use it in GitHub Desktop.
Random password generator.
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
#!/bin/bash | |
echo "[*] Password 1:" | |
openssl rand -base64 30 | |
echo "[*] Password 2:" | |
gpg --gen-random -a 0 30 | |
echo "[*] Password 3:" | |
dd if=/dev/urandom bs=1 count=30 2>/dev/null | base64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment