I'm creating an application that requires passing email addresses around in querystrings and linking to these pages in public documents.
I'd like to prevent my site from becoming spambot heaven, so I'm looking for a simple algorithm (preferably in JavaScript) to encrypt/obfuscate the address so it can be used publicly ina URL without making the email address an easy target.
ex
www.mysite.com/[email protected]
to
www.mysite.com/page.php?e=aed3Gfd469201
Preferably the result would be a short-ish string that could easily be used in a URL. Any suggestions for what algorithm I could use?