Im looking for a way to take a string and hash it to a unique number of a fixed size. ie 6 digits.
I want to use this as key and then rehash the number 1 more time and produce another 6 digit number as the unlock code.
the original string will be either variable in length or I can fix it to to a set number of characters but variable would be best.
the results of both hashes must be numeric and fixed length.
thanks for the help