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.
Hi Christo,
you can use MD5 or Sha-1
read the documentation on the topic: Digest
Thanks,
Wagner.
-Original Message-
From: Christo Rademeyer [mailto:[EMAIL PROTECTED]]
Sent: quinta-feira, 6 de dezembro de 2001 13:04
To: [EMAIL PROTECTED]
Subject: encrypt Pass
Hi how must I go to
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 ?