I'm making a tool that uses Cartesian product operations to work out every possible password given a source set of possible characters, and a length.
So, a source set might include 0-10, a-z and A-Z in one array, 62 characters in all.
At length 4, the Cartesian product will contain 4^62 passwords, all of length 4.
Is it possible for me to work out, given a source string, ie "a9BZ", what point it will occur in the Cartesian product?