string Crypt_CHAP_MSCHAPv1::challengeResponse (
)
このメソッドは、チャレンジ-レスポンス パケットを作成します。
string
- チャレンジ-レスポンス パケットを文字列で返します。
This function can not be called statically.
Crypt_CHAP_MSCHAPv1::challengeResponse() の使用
<?php
require_once 'Crypt/CHAP.php';
$cr = new Crypt_CHAP_MSCHAPv1();
$cr->chapid = 1;
$cr->password = 'MyPw';
echo bin2hex($cr->challengeResponse());
?>