MyBB Support

Hashing Emails

Submitted by Referred-By, , Thread ID: 35616

Thread Closed
Referred-By
Junior Member
Level:
0
Reputation:
10
Posts:
81
Likes:
13
Credits:
170
04-06-2017, 03:22 AM
#1
So I wondering, would it be possible to hash emails?

Now, this may sound stupid and of course you will lose some functionality as the only way to get the email will be if it's entered unhashed manually by someone, but it is a great method of insurance if your website is compromised because the hacker will be left with some useless hashes.

Here is how I theoretically see this working, I could be wrong though:
  1. User enters email
  2. The email is hashed and checked against the hash in the database
  3. If it matches, then whatever was process was happening shall continue. Whether that process be a password reset, or something else
I think it would be cool if you could do something like this. It does have both pros and cons to it.

Users browsing this thread: 1 Guest(s)