On Tue, Jul 17, 2001 at 04:02:03PM -0400, Thomas Morin wrote:
> -. Jason Lim (2001-07-18) :
>  |
>  | Okay... I wasn't thinking. The salt is stored within the crypted password
>  | generated, which is why password crackers work.
> 
> Yes, with crypt(3) the salt is precisely the first two characters.

_If_ you use the old crypt() semantics. If you provide a salt
starting with '$1$' it will give you MD5-hashed password.

Marcin
-- 
Marcin Owsiany <[EMAIL PROTECTED]>
http://student.uci.agh.edu.pl/~porridge/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to