title: Most efficient way to loop through 10 character string in java?
body: <p>I have seen a lot of different ways to do this but due to lack of experience in this area I'm not sure which is best. My program saves a lot of time the more efficient it is so I've come to you guys to ask.</p>
  
  <p>All I need is a loop to hit every possible combination for a 10 character string in java involving: 
      abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789</p>
  
  <p>So from aaaaaaaaaa to AAAAAAAAAA to 9999999999 using all the character combinations above.</p>
  
  <p>Also mini-question (not necessary but please comment if you can help), what language would be quickest to write a database of Sha-256 hashes. In java I'm getting 1.5 million hashes a second on my current computer, but when I write them all to a text file it slows to 200k a second. Would a light weight scripting language like Python be quicker or is there any way to legally buy more computational power to run my programs?</p>
  
  <p>All help is greatly appreciated!</p>