Login   Register  
PHP Classes

Password Generator Class: Generate passwords with given requirements

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-04-25 (5 years ago) RSS 2.0 feedStarStarStarStar 61%Total: 980 This week: 1All time: 3,441 This week: 1,141Up
Version License PHP version Categories  
passgen_class 1.0GNU General Public Lice...5.0PHP 5, Text processing, Security
Description Author  

2009/04/26 - Michael Schramm sent me modified version of this class. I added it to the list so you can see his solution (which seems much better to me). Look for the class.password.php file. Thanks Michael :)


This class can be used to generate passwords with given requirements.

It can generate one or more password strings that may be a of given length.

The passwords may include different ranges of characters like upper and lower case letters, digits, and special characters.

The class may assure that the password characters are not repeated.

Picture of Daniel Tlach
Name: Daniel Tlach <contact>
Classes: 2 packages by
Country: Czech Republic Czech Republic
Age: 30
All time rank: 3865 in Czech Republic Czech Republic
Week rank: 458 Down4 in Czech Republic Czech Republic Up

  Files folder image Files  
File Role Description
Plain text file class.password.php Class Modified and easier to handle version by Michael Schramm
Accessible without login Plain text file example.php Example Example usage
Plain text file Password.php Class Class source file

 Version Control Unique User Downloads Download Rankings  
 0%Total:980All time:3,441
 This week:1This week:1,141Up
 User Ratings  
 All time