Crypt_CHAP_MSCHAPv1::ntChallengeResponse()

Crypt_CHAP_MSCHAPv1::ntChallengeResponse() – NT ハッシュを使用して、チャレンジ-レスポンス パケットを作成する

Synopsis

string Crypt_CHAP_MSCHAPv1::ntChallengeResponse ( )

Description

このメソッドは、NT ハッシュを使用してチャレンジ-レスポンス パケットを作成します。

Return value

string - チャレンジ-レスポンスを文字列で返します。

Note

This function can not be called statically.

Example

Crypt_CHAP_MSCHAPv1::ntChallengeResponse() の使用

<?php
require_once 'Crypt/CHAP.php';

$cr = new Crypt_CHAP_MSCHAPv1();
$cr->password 'MyPw';
echo 
bin2hex($cr->ntChallengeResponse());

?>