I have created a quiz app which emails the user the results. I want to include a link in the url that the user can click on and view a breakdown of their results I want the url to look something like this:
http://www.mysite.com/quiz/view/32k4k2u4vxcv88xcv8cv0x98c9v7c7v8887cv
obviously a can't just hash the id cos that is easy to reverse engineer, what is the next best, simplest way to do this bearing in mind I have to execute an sql query to compare the hash value?