Forum Moderators: coopster
A dynamic page pulls information from the rows using this unique number.
What I would like to do is to "encrypt" these numbers into a sequence of something like a 10-digit sequence, something like YouTube uses.
When a user types in their special code, I can decrypt it back into the original integer and pull that content.
Something like md5($auto_id) would be great, except a 32 digit sequence is way too long, and I could only encrypt, not decrypt the intergers. I realize I could encrypt the interger and put in this encryption code into that MySQL row, but I would like to maintain the table's small size.
Any ideas?
Thanks
If you do want an encryption then you could look at designing your own function to encrypt the data based on the user supplies key.