August 2010

Generating Strong, User Friendly Passwords in PHP

Uncategorized Aug 12, 2010

For an upcoming project, I needed a quick PHP function that would generate strong passwords. It’s an easy problem on the surface, but it has some quirky nuances that appear if you spend any length of time thinking about it. For example, it’s not enough to merely pick characters at random — you have to include at least one character…