PHPããã¥ã¢ã«ã«ããã¨MD5()é¢æ°ãsha1()é¢æ°ã¯ãã¹ã¯ã¼ãã«ã¯ åãã¦ããªã(解èªãããããï¼ã®ã§ä½¿ç¨ããªãã»ããããã¨æ¸ãã¦ããã¾ã ã§ã¯ããã¹ã¯ã¼ãã«ã¯ä½ã使ãã®ãããã®ã§ããããï¼ PHPããã¥ã¢ã«ã«ãã㨠hash()é¢æ°ã crypt()é¢æ°ã使ãã®ãè¯ãã¨ããã¦ãã¾ãã crypt()é¢æ°ã¯ãPHP5.37ãã¼ã¸ã§ã³ã§è´å½çãªæ¬ é¥ããããPHP5.37ãã¼ã¸ã§ã³ã§crypt()é¢æ°ã使ç¨ããå ´å ãã¹ã¯ã¼ããã©ããªæååã§ããã°ã¤ã³ã§ãã¦ãã¾ãé大ãªãã°ããããã使ç¨ããªãã»ããæ¸å½ã§ã ãã¹ã¯ã¼ããæå·åããä¾ $pass = 'password'; $pass2 = MD5($pass);//ã¾ãMD5ãã¨ãã¾ã 5f4dcc3b5aa765d61d8327deb882cf99ãâMD5()ã§ã§ããæå·åãããæåå($pass2) $pass3 = 'kaido
{{#tags}}- {{label}}
{{/tags}}