Detailed Description
Definition at line 156 of file CHAP.php.
Member Function Documentation
Generates the response.
Generates the response using DES.
- Parameters:
-
| bool | $lm | wether generating LAN-Manager-Response private |
- Returns:
- string
Definition at line 251 of file CHAP.php.
Adds the parity bit to the given DES key.
private
- Parameters:
-
| string | $key | 7-Bytes Key without parity |
- Returns:
- string
Definition at line 327 of file CHAP.php.
Generates an irreversible HASH.
private
- Returns:
- string
Definition at line 308 of file CHAP.php.
Constructor
Loads the mhash extension
- Returns:
- void
Definition at line 171 of file CHAP.php.
Generates the LAN-Manager-Response.
public
- Returns:
- string
Definition at line 237 of file CHAP.php.
Generates the LAN-Manager-HASH from the given plaintext password.
public
- Returns:
- string
Definition at line 290 of file CHAP.php.
Generates the NT-Response.
public
- Returns:
- string
Definition at line 226 of file CHAP.php.
Generates the NT-HASH from the given plaintext password.
public
- Returns:
- string
Definition at line 183 of file CHAP.php.
Generates the response-packet.
- Parameters:
-
| bool | $lm | wether including LAN-Manager-Response private |
- Returns:
- string
Definition at line 369 of file CHAP.php.
Converts ascii to unicode.
public
- Returns:
- string
Definition at line 198 of file CHAP.php.
Field Documentation
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/lib/pear/Crypt/CHAP.php