I am new to PHP and hope someone can help me with this.
I use PHP to hash / encrypt an email address as follows:
$email = "someEmail@someProvider.com";
$emailHashed = password_hash($email, PASSWORD_BCRYPT);
This works as intended and creates a string with 60 characters.
Can someone tell me how I can retrieve the email from this or what is the reverse way to get the original unhashed and unencrypted email from $emailHashed
?
I couldn't find a way to fix this myself.
Many thanks in advance.