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