PHP Manual

PEAR Manual

Smarty Manual

PostgreSQL

MySQL Manual

Perl Manual

crypt_chap

table of contents
introduction -- encryption
crypt_chap::generatechallenge() -- generates a new random challenge.
crypt_chap_md5::crypt_chap_md5() -- constructor
crypt_chap_md5::challengeresponse() -- generates the challenge-response paket.
crypt_chap_mschapv1::crypt_chap_mschapv1() -- constructor
crypt_chap_mschapv1::challengeresponse() -- generates the challenge-response paket.
crypt_chap_mschapv1::lmchallengeresponse() -- generates the challenge-response paket using the lan-manager hash.
crypt_chap_mschapv1::ntchallengeresponse() -- generates the challenge-response paket using the nt-hash.
crypt_chap_mschapv1::ntpasswordhash() -- generates the nt-hash from the given plaintext-password.
crypt_chap_mschapv1::lmpasswordhash() -- generates the lan-manager-hash from the given plaintext-password.
crypt_chap_mschapv1::str2unicode() -- converts a string to unicode.
crypt_chap_mschapv1::response() -- generates the response-packet.
crypt_chap_mschapv2::crypt_chap_mschapv2() -- constructor
crypt_chap_mschapv2::challengehash() -- generates the challenge-hash.
crypt_chap_mschapv2::ntpasswordhashhash() -- generates an md4 hash from the nt-hash.

classes for generating packets for various chap protocols