PHP Classes
elePHPant
Icontem

The class includes a bug, when you choose Uppercase, Lower ca...

Recommend this page to a friend!

      Random Password Generator Class  >  All threads  >  The class includes a bug, when you...  >  (Un) Subscribe thread alerts  
Subject:The class includes a bug, when you...
Summary:Package rating comment
Messages:5
Author:Ali Edrees
Date:2010-12-22 12:30:47
Update:2010-12-24 06:11:49
 

Ali Edrees rated this package as follows:

Utility: Not sure
Consistency: Sufficient
Examples: Sufficient

  1. The class includes a bug, when you...   Reply   Report abuse  
Ali Edrees - 2010-12-22 12:30:47
The class includes a bug, when you choose Uppercase, Lower case and Numbers to be yes, and symbol to be no, some generated passwords has no numbers. In General, numbers are neglected sometimes in-spite of its being as yes.

I suggest to set the property $symbole to be public, in-order to allow users able to choose their own list of symbols.

  2. Re: The class includes a bug, when you...   Reply   Report abuse  
Qamar Ashraf - 2010-12-23 06:27:14 - In reply to message 1 from Ali Edrees
Hello,
Thanks of your concern.

Number Missing "Sometimes"

It is not a bug, but class in its current version is using a selection of random characters, so it might possible that (number or may be other selected input) may miss at final output.

However your thread will help me to add following "missing" features in the upcoming version along with some other updates.

* Class should have feature of adding every selected input "Must" in the generated random string.
* Class should have feature to allow user to add its own symbols.

Regards

  3. Re: The class includes a bug, when you...   Reply   Report abuse  
Qamar Ashraf - 2010-12-23 19:19:56 - In reply to message 1 from Ali Edrees
Class is updated with the following changes,

* A change in algorithm to include character of every selected input to generate random password instead of general randomization.

* Avoid repetition of characters of selected input while generating secure and powerful password.

  4. Re: The class includes a bug, when you...   Reply   Report abuse  
Ali Edrees - 2010-12-23 21:27:54 - In reply to message 3 from Qamar Ashraf
Very Nice!

  5. Re: The class includes a bug, when you...   Reply   Report abuse  
Qamar Ashraf - 2010-12-24 06:11:49 - In reply to message 4 from Ali Edrees
Thanks for your time as well.