password : domci
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5982 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -156,7 +156,7 @@ class password
|
|||||||
/** Create a random password with $nbChars chars, ASCII chars (with special
|
/** Create a random password with $nbChars chars, ASCII chars (with special
|
||||||
* chars).
|
* chars).
|
||||||
* A maximum of 20% for special chars in the size
|
* A maximum of 20% for special chars in the size
|
||||||
* @param integer|null $nbChar The number of chars (12 by default)
|
* @param integer|null $nbChars The number of chars (12 by default)
|
||||||
* @return The random password
|
* @return The random password
|
||||||
*/
|
*/
|
||||||
static public function generateASCII ($nbChars = 12)
|
static public function generateASCII ($nbChars = 12)
|
||||||
@@ -185,7 +185,7 @@ class password
|
|||||||
|
|
||||||
/** Create a random password with $nbChars chars, Alphanumericals chars
|
/** Create a random password with $nbChars chars, Alphanumericals chars
|
||||||
* (without special chars)
|
* (without special chars)
|
||||||
* @param integer|null $nbChar The number of chars (12 by default)
|
* @param integer|null $nbChars The number of chars (12 by default)
|
||||||
* @return The random password
|
* @return The random password
|
||||||
*/
|
*/
|
||||||
static public function generateAlphanum ($nbChars = 12)
|
static public function generateAlphanum ($nbChars = 12)
|
||||||
@@ -210,7 +210,7 @@ class password
|
|||||||
|
|
||||||
/** Create a random password with $nbChars chars, Alphabeticals chars
|
/** Create a random password with $nbChars chars, Alphabeticals chars
|
||||||
* (without special chars, neither numbers)
|
* (without special chars, neither numbers)
|
||||||
* @param integer|null $nbChar The number of chars (12 by default)
|
* @param integer|null $nbChars The number of chars (12 by default)
|
||||||
* @return The random password
|
* @return The random password
|
||||||
*/
|
*/
|
||||||
static public function generateAlphabetical ($nbChars = 12)
|
static public function generateAlphabetical ($nbChars = 12)
|
||||||
|
|||||||
Reference in New Issue
Block a user