Thanks for the link! I will look into it.
I am doing this to make a flash game, and when the game is over, it sends some variables to a PHP script that tracks High Scores. The problem with that is that anyone can type into their browser highscore.php?s=999999999&n=Hacker and cheat the system.
I was thinking I could also pass an MD5-encrypted string which includes the person's score along with a secret word. For example, the MD5 of "10720jenson". That gets sent as highscore.php?s=10720&n=Legit%20Player&k=3cc4c497248830887bd731f967fbe2cf. The PHP script verifies that the score claimed is in accord with the MD5 sum. I think that works because nobody knows how to generate the proper MD5 sum, since they don't know the secret word.
But thanks for the algorithm!