At 09:53 AM 12/15/03 +0500, Sara wrote:
 
What I am looking for a way to compelety change the email addy layout by replacing it with unguessable alphabets and numbers or either of those and vice versa. eg.
 
$email = [EMAIL PROTECTED]";
 
using some search and replace/translate function ?
 
$email = "blah..3b92a98ualwetwe334...blah";
 
and then translating it back to email when needed.
 
Thanks for any input.
 
Sara.
 

 
  Turn it into an MD5 hash, then no one can guess it. Check out the
module, Digest::MD5 on CPAN

    http://search.cpan.org/~gaas/Digest-MD5-2.33/MD5.pm

  Basically, you convert the email address to an MD5 hash, store
it in a database with the hash as the key. To retrieve the
email address, just lookup the hash in the database.

   Scott


 

Utilities for POPFile, the OpenSource Mail Classifier
    http://www.geocities.com/Helphand1/popfile.htm

Reply via email to