RE: [PHP4BETA] md5 / configuration

From: Date: Thu, 05 Aug 1999 18:32:54 +0000
Subject: RE: [PHP4BETA] md5 / configuration
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-3149@lists.php.net to get a copy of this message
How did they do it in PHP3? I mean, I need this to be compatible with the PHP3 md5() output. And where can I find a libcrypt? A websearch didnt result any useful links. > -----Original Message----- > From: Support Publissimo [mailto:publissimo@sofarxmedia.com] > Sent: Thursday, August 05, 1999 20:03 > To: Sander Pilon > Subject: Re: [PHP4BETA] md5 / configuration > > > Sometimes, some systems say that they have definitions for md5() and other > crypt functions, however to conform ITAR restrictions, they do not define > them in the international versions of their system libraries. I think it > would have been better not to define them in system header files, > and allow > international users to provide their own ITAR compliant implementation. > Note that there are international versions of MD5 and DES implementations. > You'll find many places with them. All you have to do is to compile a > "libcrypt" or "libdes", and add it on your system. > I have not checked the PHP4 sources, there may be a default implementation > in it (but is it ITAR compliant ?) > May be this default implementation had to be removed, because sources are > located in the USA or Canada. > In that case, you will have at least to manually patch your generated > config.h to remove the unsupported system function. And you'll have to add > your own implementation. Or you may have to link the correct crypting > library suited for your system by adding library flags to the > linking rule. > > -----Message d'origine----- > De : Sander Pilon <sander@3dnews.net> > À : PHP4 <php4beta@lists.php.net> > Date : jeudi 5 août 1999 18:29 > Objet : [PHP4BETA] md5 / configuration > > > >What do I do to get md5 working in PHP4 ? > >(Worked fine in PHP3) > > > >I get a function undefined error when I try to use it. > > > >My config says this: > > > >checking for crypt in -lc... (cached) no > >checking for crypt in -lcrypt... (cached) yes > >checking for crypt.h... (cached) no > >checking for crypt... (cached) yes > >checking for mcrypt support... no > >checking for standard DES crypt... yes > >checking for extended DES crypt... no > >checking for MD5 crypt... yes > >checking for Blowfish crypt... no > >creating ext/mcrypt/Makefile > > > >Sander Pilon - President, 3DN.NET, Inc. > >http://www.3dnews.net > >http://www.3dn.net > >mail: sander@3dnews.net > > > >-- > >PHP 4 Beta > > > > >

« previous php.version4 (#3149) next »