Created
July 25, 2017 01:20
-
-
Save camsaul/da60d582d4e8831ef6d18b2e604229d5 to your computer and use it in GitHub Desktop.
Generate Secure Random Strings
This file contains hidden or 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 | |
# base 64 | |
openssl rand -base64 32 | |
# hex | |
openssl rand -hex 32 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment