Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Nov 2004 18:06:56 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        current@freebsd.org
Subject:   Re: Passwd format? 
Message-ID:  <32180.1100365616@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 13 Nov 2004 17:42:53 %2B0100." <4196398D.2030000@fer.hr> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <4196398D.2030000@fer.hr>, Ivan Voras writes:
>The Handbook and crypt(3) say passwords in master.passwd are MD5 hashes 
>if they start with $1$, for example:
>
>$1$DP.s8oCc$VJo0/026/S5ng6HlD1Sz8/
>
>the format is $1$salt$rest. I have several questions:
>
>How are the values encoded? This looks something like base64.

Search for "md5crypt.c" in google and you'll find the source.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32180.1100365616>