I can't wrap my head around the algorithm for making the following:
I have an array for all possible characters: array("a", "b", "c",...."z", " ", "!"...)
you get the idea.
Now I would like to generate all possible compinations of these characters with the length of x.
so for example the array("a", "b", "c")
with the length of 4: aaaa abaa acaa aaba aaca aaab aaac abba abca acba acca (....) baaa caaa
and so on...
Thanks in advice!