
20 Mar
2003
20 Mar
'03
10:20 a.m.
Without having looked at what's happening with $salt: Why not additionally encode $salt with MD5? I don't know exactly how coding forms, but would assume this: $salt = MD5($salt); ;) Regards, Robert
sub random_salt { my (@salt_set, $salt); @salt_set = ('a'..'z', 'A'..'Z', '0'..'9', '.', '/'); $alt = $salt_set[int(rand(64))] . $salt_set[int(rand(64))]; return $salt; }