DEV Community

Cover image for Generate cryptographically-protected passwords with PHP
Pierre-Henry Soria ✨
Pierre-Henry Soria ✨

Posted on • Edited on

Generate cryptographically-protected passwords with PHP

How to implement cryptographically-protected passwords with PHP?

What the video will cover:

  1. What’s a cryptographically secure password and how to use a Cryptographic Random Number generator (CRNG)?
  2. int_random is available since PHP 7. Benefits of using a cryptographically secure function in comparison with mt_random()
  3. When dealing with password, it’s very important to use a “cryptographically secure” like random_int() with PHP >=7.0 or random_compat for PHP 5.6 and older versions.

Top comments (1)

Collapse
 
pierre profile image
Pierre-Henry Soria ✨

Hope this one helps! Any feedback or questions, feel free to post them here!