Search for in the Packages This site (using Yahoo!) Developers Developer mailing list General mailing list CVS commits mailing list
string Crypt_CHAP_MSCHAPv2::ntPasswordHashHash (string $nthash)
string Crypt_CHAP_MSCHAPv2::ntPasswordHashHash
This method generates an MD4 Hash from the given NT-Hash.
string $nthash - the NT-Hash to be hashed
string - a String containing the NT-Hash
Ez a függvény nem hívható statikusan.
Példa 37-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)); ?>