This is what I use.
sub CryptPW {
my($passWord) = $_[0];
my($salt) = join '', ('.', '/', 0..9, 'A'..'Z', 'a'..'z')[rand 64, rand
64];
my($crypted) = crypt($passWord, $salt);
return $crypted;
}
Rob
Good judgement comes from experience, and experience -
well, that comes from poor judgement.
On Thu, 6 Dec 2001, Christo Rademeyer wrote:
> Hi how must I go to encrypt my passwd on my adduser I wrote?
> Thanx
> Christo
>
> PS! is it make salt or something like that ?
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]