Generate unique, random tokens and secure hashes in PHP

preview_player
Показать описание

Taken from the course "Build a Complete Registration and Login System using PHP MVC".

How to generate unique, random strings in PHP, and how to create secure hash values of those tokens.
Рекомендации по теме
Комментарии
Автор

with an example of this could be even better.

pranabroy
Автор

i wish the disliker explain why they click the dislike button. What would be the reason? We need a secure website. Is there something flaw in his explaining?

mr.RAND
Автор

hashing the same word with the same algoritm always give the same hash back
this can be abused to decrypt a hash make sure to salt them

weshuiz