patschi

generate random key

Sep 4th, 2014
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.15 KB | None | 0 0
  1. echo `head -c 500 /dev/urandom | base64 | tr -cd '[a-zA-Z0-9]' | head -c 36 | tr '[:lower:]' '[:upper:]' | fold -w6 | tr "\n" "-" | rev | cut -c 2- | rev`
Advertisement
Add Comment
Please, Sign In to add comment