title: Generate all possible string from a given length
body: <p>I would like to be able to generate all possible strings from a given length, and I frankly don't know how to code that. So for further explanation, I and a friend would like to demonstrate some basic hacking techniques, so bruteforcing comes up. Of course, he will be my victim, no illegal thing there.</p>
  
  <p>However, the only thing he told me is that his PW will be 4-char-long, but I'm pretty sure his PW won't be in any dictionnary, that would be toi easy.</p>
  
  <p>So I came up with the idea of generating EVERY 4-char-long-string possible, containing a-z characters (no caps). </p>
  
  <p>Would someone have a lead to follow to code such an algorithm ? I don't really bother with performances, if it takes 1 night to generate all PW, that's no problem.</p>
  
  <p>Don't forget, that's only on demonstration purposes.</p>