PHP Classes

Password Generator Class: Generate passwords with given requirements

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (6 years ago) RSS 2.0 feedStarStarStarStar 61%Total: 990 All time: 3,490 This week: 1,174Up
Version License PHP version Categories  
passgen_class 1.0GNU General Publi...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: 31
All time rank: 3905 in Czech Republic Czech Republic
Week rank: 1481 Down14 in Czech Republic Czech Republic Down

  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:990All time:3,490
 This week:0This week:1,174Up
 User Ratings  
 All time