Skip to content

Instantly share code, notes, and snippets.

@pwpearson
Forked from rietta/random_hash.sh
Created August 23, 2021 20:29
Show Gist options
  • Save pwpearson/40b2c22d80edafa75eac37b281ef1d1a to your computer and use it in GitHub Desktop.
Save pwpearson/40b2c22d80edafa75eac37b281ef1d1a to your computer and use it in GitHub Desktop.
Easy command line random hash generator for Mac OS X, Linux, and FreeBSD.
#!/bin/sh
head -n 4096 /dev/urandom | openssl sha1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment