Hi all:
When encrypting with md5 for example am I correct in thinking that you cannot just encrypt an email address? For example...
MySite.com/delete.php?email=johndoe@aol.com
becomes
MySite.com/delete.php?email=013ba2d18b09725a3675927a657144ed
Now let's say that John Doe was competitor of Joe Smith. Couldn't Joe Smith go to http://www.adamek.biz/md5-generator.php and type in "johndoe@aol.com", get the encrypted email and delete his competitor from my table?
Is the answer to never just encrypt an email address but to encrypt an email address+ some publicly unknown variable such as the record ID?
So now it would be
MySite.com/delete.php?email=johndoe@aol.com437
becomes
MySite.com/delete.php?email=db08aea2372212f94ba503411ad2f32a
and unless Joe Smith knows John Doe's record ID (highly unlikely) the code is somewhat safe.
sha1 would be the same reasoning.
Comments appreciated before I go ahead with a big project.