Crypt_CHAP_MSCHAPv2::ntPasswordHashHash()
Crypt_CHAP_MSCHAPv2::ntPasswordHashHash() -- Generates an MD4 Hash from the NT-Hash.
Synopsis
string Crypt_CHAP_MSCHAPv2::ntPasswordHashHash (string $nthash)
Beschreibung
This method generates an MD4 Hash from the given NT-Hash.
Rückgabewert
string - a String containing the NT-Hash
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.
Beispiel
Beispiel 41-1. Using Crypt_CHAP_MSCHAPv2::ntPasswordHashHash()
<?php
require_once 'Crypt/CHAP.php';
$cr = new Crypt_CHAP_MSCHAPv2();
$nthash = $cr->ntPasswordHash('MyPw');
echo bin2hex($cr->ntPasswordHashHash($nthash));
?>
|
|