previousCrypt_CHAP_MSCHAPv2::challengeHash() (Previous) (Next) Crypt_GPGnext

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Crypt_CHAP_MSCHAPv2::ntPasswordHashHash()

Crypt_CHAP_MSCHAPv2::ntPasswordHashHash() – NT ハッシュをもとにして MD4 ハッシュを作成する

Synopsis

string Crypt_CHAP_MSCHAPv2::ntPasswordHashHash ( string $nthash )

Description

このメソッドは、指定した NT ハッシュから MD4 ハッシュを作成します。

Parameter

  • string $nthash - ハッシュの対象となる NT ハッシュ。

Return value

string - NT ハッシュを文字列で返します。

Note

This function can not be called statically.

Example

Crypt_CHAP_MSCHAPv2::ntPasswordHashHash() の使用

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

$cr = new Crypt_CHAP_MSCHAPv2();
$nthash $cr->ntPasswordHash('MyPw');
echo 
bin2hex($cr->ntPasswordHashHash($nthash));

?>
previousCrypt_CHAP_MSCHAPv2::challengeHash() (Previous) (Next) Crypt_GPGnext

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.