Php instance with one-way string encryption .? Php *** one-way string encryption algorithm cannot be used as password encryption * if (CRYPT_STD_DES1) {echoStandardDES:. crypt (helloworld). n;} else {echoStandardDESnotsupported. n; /**
* The one-way string encryption algorithm cannot be used as password encryption.
*/
If (CRYPT_STD_DES = 1)
{
Echo "Standard DES:". crypt ("hello world"). "\ n ";
}
Else
{
Echo "Standard DES not supported. \ n ";
}
If (CRYPT_EXT_DES = 1)
{
Echo "Extended DES:". crypt ("hello world"). "\ n ";
}
Else
{
Echo "Extended DES not supported. \ n ";
}
If (CRYPT_MD5 = 1)
{
Echo "MD5:". crypt ("hello world"). "\ n ";
}
Else
{
Echo "MD5 not supported. \ n ";
}
If (CRYPT_BLOWFISH = 1)
{
Echo "Blowfish:". crypt ("hello world ");
}
Else
{
Echo "Blowfish DES not supported .";
}
?>
Author: k7gxn56
Http://www.bkjia.com/PHPjc/364730.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/364730.htmlTechArticle? Php/*** one-way string encryption algorithm cannot be used as password encryption */if (CRYPT_STD_DES = 1) {echo Standard DES :. crypt (hello world ). \ n;} else {echo Standard DES not supported. \ n ;...