No, md5()
- is one-way hash function. You can't decrypt its value. Usually it used for passwords which don't need to be decrypted. Instead you compare hashes like:
$salt = "adding some secret to increasse security";
if (md5($user_password . $salt) == $user_password_hash_from_db) {
## password is ok
}
If you want to be able to decrypt your value, then use crypt
php function instead. But it may require additional modules to be installed.
Any way I don't see any practical reason to crypt email.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…