in reply to Shadow Passwords

I found this code at htpasswd.pl that describes a way of encrypting the salt.
# Random seed from p.223 of _Programming Perl_ (O'Reilly & Assoc) srand(time() ^ ($$ + ($$ << 15)) ); @saltchars=(a..z,A..Z,0..9,'.','/'); # valid salt chars $salt=$saltchars[int(rand($#saltchars+1))]; # first random salt cha +r $salt.=$saltchars[int(rand($#saltchars+1))]; # second random salt c +har $cpw = crypt($pass,$salt);

If you want to create more than two characters for the salt, then repeat the random salt char line

Richard

There are three types of people in this world, those that can count and those that cannot. Anon