RE: [PHP-DEV] crypt

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: RE: [PHP-DEV] crypt
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-1351@lists.php.net to get a copy of this message
> PHP3_MD5_CRYPT and > > PHP3_BLOWFISH_CRYPT > > Hmm, what are these? Is PHP3_MD5_CRYPT an internal implementation that I > could have work on windows? Not familier with blowfish either. Don't worry about these on Windows. The standard crypt() function on Unix is multi-faceted on some Unix systems. The output from the function depends on the salt you feed it. And on some systems the default is not the standard DES encryption. The test cases I added today runs crypt() in different ways and tries to discover what sort of capabilities the native crypt() function has. It will define these 4 different macros depending on how many different types of encryptions the crypt() function is found to support. We could go nuts and try to implement the other 3 encryption mechanisms on Windows, but I really don't think it is required. The standard DES with the 2-character salt is likely to be more than enough on Windows. There is of course nothing stopping us from grabbing the source to these other algorithms if someone feels really keen. A good reference is: http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/crypt/ If you want to understand more about the algorithms behind the other encryption mechanisms. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1351) next »