I would like to know how to generate a number from a string that contains letters and numbers. The requeriment is that the same string must generate always the same number.
I am trying to find an encoding type in PHP, which returns an integer for a string.
I don’t need to convert it back to the string. Is there any such encoding available??
I think I got the solution.
I was looking for something like crc32.
It gives me an integer for a string.
Thank you guys for your help and I apologize for being unclear again.