PEAR Manual
Prev |  | Next

# Crypt_CHAP_MSCHAPv2::Crypt_CHAP_MSCHAPv2()

Crypt_CHAP_MSCHAPv2::Crypt_CHAP_MSCHAPv2() -- constructor

## Synopsis

    require_once 'Crypt/CHAP.php';

``void Crypt_CHAP_MSCHAPv2::Crypt_CHAP_MSCHAPv2` ()`

## Description

Generates a new Object for generating MS-CHAPv2 compliant pakets. This version of CHAP uses also a Peer-Challenge, LM-Hashes are not used anymore. The Constructor generates automatically a Peer-Challenge and the Authenticator-Challenge.

Prev | Home | Next
Crypt_CHAP_MSCHAPv1::response() | Up | Crypt_CHAP_MSCHAPv2::challengeHash()