hi list,
I�m using the following scripts to manage my passwords.
I can crypt my new passwords to change the old one, but how can I get
the clear pass from my crypted again??
Thanks for your hints!!
Peter
# test if passwords are equal
$salt = substr($existuspassword, 0, 2);
$incrypt = crypt($uspassword, $salt);
if ( $existuspassword eq $incrypt ) {
..
..
..
}
# set new password
$incrypt = crypt($newuspassword,chr((46..57,65..90,97..122)[rand
64]).chr((46..57,65..90,97..122)[rand 64]));
$db{uspassword} = $incrypt;
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]