Passwd format?

Ivan Voras ivoras at
Sat Nov 13 09:27:48 PST 2004

Poul-Henning Kamp wrote:
> In message <4196398D.2030000 at>, Ivan Voras writes:
>>The Handbook and crypt(3) say passwords in master.passwd are MD5 hashes 
>>if they start with $1$, for example:
>>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.

This looks like it:

It seems it's definitely NOT reusable in LDAP :(

More information about the freebsd-current mailing list