How to send an email with a link to reset password?
How to send an email with a link to reset the password of a user? Here is my method of hashing: $options = ['cost' => 11, 'salt' => random_bytes(22)]; $passwordCrypter = password_hash($password, PASSWORD_BCRYPT, $options); I think we need to use this method because to decrypt a password is not recommended. But why?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.