PHP Classes

gSenha: Generate a random password from a character list

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 274 All time: 7,673 This week: 455Up
Version License PHP version Categories
gsenha 1.0GNU General Publi...5.0PHP 5, Text processing


This class can generate a random password from a character list.

It can generate a text string with a given length of random characters.

The list of characters to be included is a configurable option.

The code and the comments are in Portuguese.

In Portuguese:

Classe abstrata que gera senha aleatória de acordo com os parâmetros informados através da função gera_senha. O primeiro parâmetro (tamanho) determina a quantidade de caracteres que a senha terá. O segundo parâmetro (caracteres_permitidos) determina quais caracteres serão usados para construir a senha.

Picture of Diogo Del Santo
Name: Diogo Del Santo <contact>
Classes: 3 packages by
Country: Brazil Brazil
Age: 40
All time rank: 2460169 in Brazil Brazil
Week rank: 270 Up19 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file exemplo_gSenha.php Example exemplo gSenha
Plain text file gSenha.class.php Class gSenha

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,673
This week:455Up