Crypt_CHAP_MSCHAPv1::lmChallengeResponse()
Crypt_CHAP_MSCHAPv1::lmChallengeResponse() -- Generates the Challenge-Response paket using the LAN-Manager Hash.
概要
string Crypt_CHAP_MSCHAPv1::lmChallengeResponse ()
説明
This method generates the Challenge-Response using the LAN-Manager Hash.
返り値
string - a String containing the challenge-response
注意
この関数は、スタティックにコールする
ことはできません。
例
例 35-1Using Crypt_CHAP_MSCHAPv1::lmChallengeResponse()
<?php
require_once 'Crypt/CHAP.php';
$cr = new Crypt_CHAP_MSCHAPv1();
$cr->password = 'MyPw';
echo bin2hex($cr->lmChallengeResponse());
?>
|
|