title: How to get a random string of 32 hexadecimal digits through command line?
body: <p>I'd like to put together a command that will print out a string of 32 hexadecimal digits. I've got a Python script that works:</p>
  
  <pre><code>python -c 'import random ; print "".join(map(lambda t: format(t, "02X"), [random.randrange(256) for x in range(16)]))'
  </code></pre>
  
  <p>This generates output like:</p>
  
  <pre><code>6EF6B30F9E557F948C402C89002C7C8A 
  </code></pre>
  
  <p>Which is what I need.</p>
  
  <p>On a Mac, I can even do this:</p>
  
  <pre><code>uuidgen | tr -d '-'
  </code></pre>
  
  <p>However, I don't have access to the more sophisticated scripting languages ruby and python, and I won't be on a Mac (so no uuidgen). I need to stick with more bash'ish tools like sed, awk, /dev/random because I'm on a limited platform. Is there a way to do this?</p>