[lug] Re: portable md5 function?
D. Stimits
stimits at idcomm.com
Wed Aug 22 13:04:38 MDT 2001
Tkil wrote:
>
> >>>>> "DS" == D Stimits <stimits at idcomm.com> writes:
>
> DS> I'm looking for [MD5-style password hashing] in the form of a C
> DS> function call, rather than a command line program. I wonder if the
> DS> md5 based passwords rely on this separate program rather than a C
> DS> function call? It seems more likely that somewhere there is a
> DS> replacement to the old crypt() function call.
>
> have fun:
>
> http://cvsweb.netbsd.org/bsdweb.cgi/basesrc/lib/libcrypt/md5crypt.c?rev=1.3&content-type=text/x-cvsweb-markup&sortby=date
>
> t.
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
Surprisingly (or maybe not) I actually ran into this sample while
looking around. I still haven't defined *exactly* what I want, but this
does appear to be a fairly portable setup. If unistd.h is avoided, it
might even compile on non-UNIX style systems.
D. Stimits, stimits at idcomm.com
More information about the LUG
mailing list