Hashing is a one-way function, meaning you can’t get back an original string from a hash value.
You could use the PHP function mcrypt_encrypt
to “encrypt” the email address and mcrypt_decrypt
to convert it back.
If you went that route, you could hook into password_reset
to decode the email address before the password reset is sent, and then hook into password_reset_after
to encode it again after.
Related Posts:
- Multiple developers / editors working on a site in progress
- How many users can WordPress handle?
- Is sanitize_text_field() is enough to save to DB?
- How to track user progress?
- What is the most secure way to store post meta data in WP?
- Performance tips for a large user base [closed]
- Efficiency on displaying random authors based on large database
- Extend the wp_users table
- Using two different DB users on one WP install
- Is $wpdb->prepare escaping to much? How to use it properly?
- How to use user table of a different database for WordPress users?
- Subscribers to posts
- Set Display Name to first and last name (phpmyadmin SQL Query)
- Select Multiple meta_value from WP DB; Single Query
- Getting all the users who have author privilege
- Who is responsible for data sanitization in WordPress development?
- How do I properly update the WordPress database password?
- Does WordPress always create unique passwords?
- In what part of the WordPress core does the users table and usermeta table get joined?
- Why is it that not all users have a ‘session_tokens’ meta_key record in the usermeta table?
- Modify Database in Multi-Site wp_usermeta table
- Change WordPress prefix for only one table?
- wp_get_current_user always returns 0 continued
- Is there a smart way to obtain a list of only some selected user meta data?
- How can i customize the export personal data file?
- What Is the Proper Way to Merge Usermeta Table to a an existing WP Database?
- Import users from old WP site to new one
- How to Access wp_usermeta Data Immediately After a New User is Created
- Logins from WP users table use on another page
- WordPress and user security
- MS Access to manage WordPress Database
- 2 WordPress sites with 2 databases but sharing the same users
- Convert user passwords to MD5?
- What’s the proper way to sanitize checkbox value sent to the database
- What can I do when an outside party hacks into my weblog and changes my display name?
- How do I have now a duplicated user entry if this is not allowed (and I cannot replicate it)?
- Does WordPress store the username as a primary key in the database?
- Is there a way to execute a php script outside WordPress?
- multiple wordpress installation with shared usertable on an different database
- Best practice to import user base (subscribers) from one website to another?
- Share users across multiple sites on same database, but with different domains
- Users table missing from Database [closed]
- Some weird users in database
- How to delete a particular row in a database table
- Recovering the table wp_usermeta from users
- Regenerate user_nicename column
- WordPress security [closed]
- Storing user submitted forms [closed]
- WordPress where clauses in db select
- wp_insert_user not creating account correctly when ID is manually set
- Select From wpdb – Author/User Directory page
- Secure way to use name_save_pre?
- Can’t log into wordpress site – I have made a new user and still cant access
- Need help with creating a searchable user data by name or specific number like ID
- WordPress Database – wp_usermeta and the correct number of session_tokens rows
- Migrate Users From laravel to wordpress
- Insert NULL value using prepare()
- Display user data in numbered list
- User input to database
- how add more field to wp user and save it to database
- Move Non-WordPress users table to WordPress database
- Change user_nickname for author page link
- how restrict user to give star ratings once for a post?
- create a table using user meta custom data
- How to get the id of recently registered user from database?
- How to save dropdown slection by a user in the DB
- How to get specific table by current user login
- spambot registering without providing email or password, bypassing registration process
- update multiple user meta field based on another meta field
- Changed meta_key value in structures, now dashboard shows zero users
- What WordPress file is saving new users to database
- Get id from database
- WordPress sync with phpbb
- import (migration) user database to wp-users
- Import Excel (or csv) Table with user-data as subscribers to wordpress
- WP Multisite Users Not Linking
- How can I make a WordPress database portable and url independent?
- How to stop WordPress using utf8mb4_unicode_520_ci collation?
- WP_Options ID high
- Default WordPress settings API data sanitization
- How to fix unchanged URLs in Database after running serialized search and replace script?
- WordPress database error – Error in SQL syntax – I can’t identify any error?
- Merging two wp_posts tables while avoiding duplicates
- Move out of sync posts from one database to another
- Custom WordPress Table wpdb
- $wpdb->get_results($wpdb->prepare(… You have an error in your SQL syntax;
- Can local WordPress installs share /wp-content/ folder and database?
- how to encyrpt DB_PASSWORD in wp-config
- Choosing http or https during manual installation of WordPress and database
- Stringing together content from different databases
- Safely store code(html/js..) into database
- Why does wp_links still exist in the db schema?
- can’t upgrade wordpress or install plugins, it seems to “think” it’s still on a local installation
- Is there any defects for using same database prefix in WordPress for multiple sites?
- How to import products in host instead of database on wordpress?
- Want to update value in database. But it says update() on null
- The MySQL Connection could not be established., before it was joomla but i have change it into worpress
- Database Name Change
- Where To Find bb_profile_data(); In bbPress?
- How to properly configure SSL connection to remote azure database for running queries within a WordPress environment