This method generates a new random challenge and stores it in the given property, the default size of the challenge is 8 bytes.
string $varname - name of the property for storing the challenge
int $size - the size of the challenge
Example 28-1. Using Crypt_CHAP::generateChallenge()
|