title: How to create a random String using the current timestamp as the salt in Java?
body: <p>I would like to create a random string (to output to the console for debugging purposes) based off of the current timestamp.</p>
  
  <p>For example, the console would output:</p>
  
  <pre><code>Setting up browser [123456]...
  Getting configuration [758493]...
  Completed: [758493].
  Completed: [123456].
  </code></pre>
  
  <p>Here the <code>123456</code> and <code>758493</code> are the random strings I'm trying to generate.</p>
  
  <p>Here's the pseudocode for how I think it can work:</p>
  
  <pre><code>private String random(int len){
  long ts = getCurrentTimestamp;
  String value = createRandom(len, ts); 
      //len is the length of the randomString
      //and ts is the salt
  return value;
  }
  </code></pre>
  
  <p>Can anyone help with the details of this (what needs to be imported), and/or possibly suggest improvements to this?</p>