N
nightcats
Hi,
I have a password encryption question that really needs help. I have
two password-related PL files.
Take an example of "test2",
One would creat an encryption that looking like this, "MMehO15WVVavQ"
(Or every password with a MMxxxxxxxx pattern
The other would be looking like this, "ae8FEYefjhNw2"
Or every password with an "aexxxxx" pattern.
The encryption script in the "MM" perl file is this:
$pass = crypt($password, "MM");
The encryption in the second perl (the 'ae' thing) is this:
$test_passwd = crypt($FORM{'password'}, substr($passwd, 0, 2));
------------
My question is, how could I make them created the same version of
encryption, so that the two files can share one set of password?
Thanks a million.
I have a password encryption question that really needs help. I have
two password-related PL files.
Take an example of "test2",
One would creat an encryption that looking like this, "MMehO15WVVavQ"
(Or every password with a MMxxxxxxxx pattern
The other would be looking like this, "ae8FEYefjhNw2"
Or every password with an "aexxxxx" pattern.
The encryption script in the "MM" perl file is this:
$pass = crypt($password, "MM");
The encryption in the second perl (the 'ae' thing) is this:
$test_passwd = crypt($FORM{'password'}, substr($passwd, 0, 2));
------------
My question is, how could I make them created the same version of
encryption, so that the two files can share one set of password?
Thanks a million.