Generate MS-CHAPv2 Packets. This version of MS-CHAP uses a 16 Bytes authenticator challenge and a 16 Bytes peer Challenge. LAN-Manager responses no longer exists in this version. The challenge is already a SHA1 challenge hash of both challenges and of the username.
Generates the challenge hash from the peer and the authenticator challenge and the username. SHA1 is used for this, but only the first 8 Bytes are used.