Skip to content

Instantly share code, notes, and snippets.

@camsaul
Created July 25, 2017 01:20
Show Gist options
  • Save camsaul/da60d582d4e8831ef6d18b2e604229d5 to your computer and use it in GitHub Desktop.
Save camsaul/da60d582d4e8831ef6d18b2e604229d5 to your computer and use it in GitHub Desktop.
Generate Secure Random Strings
#!/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