my $password = 'password'; my $encrypted_password = crypt $password, 'AB'; printf "password: %s encrypted_password: %s\n", $password, $encrypted_password; printf " crypt(password,AB): %s encrypted_password: %s crypt(password,BC): %s crypt(password,encrypted_password): %s \n", crypt($password,'AB'), $encrypted_password, crypt($password,'BC'), crypt($password,$encrypted_password);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Guildenstern) Re: Understanding crypt()
by Guildenstern (Deacon) on Apr 20, 2001 at 18:12 UTC | |
by $code or die (Deacon) on Apr 23, 2001 at 06:18 UTC | |
|
Re: Understanding crypt()
by princepawn (Parson) on Aug 10, 2001 at 19:15 UTC |