See the CPAN Perl module; search www.cpan.org for Crypt-PasswdMD5
It has a supported 'apachified' passwd variant. Bill At 12:11 PM 4/1/2002, you wrote: >Is it possible for whomever knows best to provide code or help to the PHP >group and make a PHP <bsd|apache>_md5() function? Or adapt the current >PHP function w/ an additional attribute to select which type of hash to >use? md5($string, ..., HASH_NORM|HASH_BSD), it'd be very nice if the >latter was accepted, I'm sure in the future there will be at least one >more implementation of md5 to cope with. > >Thanks for listening, >David > >Rasmus Lerdorf wrote: > >>I am getting rather tired of answering questions on this one. Could we >>please drop this crap about htpasswd using md5. A modified md5 is no >>longer md5, so let's not call it md5 at all. Over and over again people >>ask me why md5($string) doesn't match what is in htpasswd-generated >>password files. >> >>-Rasmus > >