PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Text » Text_Password » Bug #3268

ASCII Rotation may result in Whitespaces and Specialchars

Details

Request #3268ASCII Rotation may result in Whitespaces and Specialchars
Submitted2005-01-22 10:31 UTC
Fromcmoehrke at netviser dot de
Assignedolivier
StatusClosed
PackageText_Password
PHP VersionIrrelevant
OSIrrelevant
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