P
P
prrrrrrr2018-12-29 14:59:52
PHP
prrrrrrr, 2018-12-29 14:59:52

How to display the decrypted password?

Tell me, when registering, there is a hashing of the password:

$user->password = password_hash($data['password'], PASSWORD_DEFAULT);

and I want to implement so that the user can view his password, but it is displayed in encrypted form. how to decrypt?
Conclusion:
<b>Пароль:</b> <?echo $users->password;?>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2018-12-29
@prrrrrrr

no way: hashes are not decrypted.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question