Home » Text » Text_Password » Bug #3268
ASCII Rotation may result in Whitespaces and Specialchars
Details
| Request #3268 | ASCII Rotation may result in Whitespaces and Specialchars |
|---|---|
| Submitted | 2005-01-22 10:31 UTC |
| From | cmoehrke at netviser dot de |
| Assigned | olivier |
| Status | Closed |
| Package | Text_Password |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2005-01-22 10:31 UTC] cmoehrke at netviser dot de
Description:
------------
When using the ASCII-Rotation functions the generated passwort may contain Whritespaces or special chars. It really would be helpfull to exclude the Whitespaces at least.
Reproduce code:
---------------
require_once "Text/Password.php";
$login="Klaus";
echo Text_Password::createFromLogin($login,'ascii_rotx',172);
Actual result:
--------------
÷"
// K results in ÷
// l results in ASCII 25d
// a results in ASCII 14d
// u results in "
// s results in ASCII 32d
// Which doesn't seem to be a useful passwword