Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save visualblind/6385a5dc20b2c35e16b3f8b06468e33e to your computer and use it in GitHub Desktop.
Save visualblind/6385a5dc20b2c35e16b3f8b06468e33e to your computer and use it in GitHub Desktop.
A better and faster /dev/urandom
#!/usr/bin/env bash
openssl enc -aes-128-ctr -pass file:/dev/random 2>/dev/null | tail -c+17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment