Hey guys, I've just recently learned about the new hashing functions of PHP5.5+, but unfortunately I'm getting mixed results after I deciding to try them out myself.
Here is the code, nothing else is on the page:
Whenever I echo this value, and copy it from the page to the function:
It returns bool(false).
On the other hand, if I do:
It returns true.
Is there some sort of formatting or security measure being applied to the echoed $hash?? I've tried google to no success.
Using password_get_info() on the copied $hash I get the following:
Something is clearly being lost here.
Thank you for your time guys.
No comments:
Post a Comment