Subversion Repositories php_clientchallenge

Rev

Rev 2 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 4
Line 21... Line 21...
21
        require_once __DIR__ . '/../vendor/autoload.php';
21
        require_once __DIR__ . '/../vendor/autoload.php';
22
}
22
}
23
 
23
 
24
require_once __DIR__ . '/../ClientChallenge.class.php';
24
require_once __DIR__ . '/../ClientChallenge.class.php';
25
 
25
 
26
define('COMPLEXITY', 500000);
26
require_once __DIR__ . '/config.inc.php';
27
 
27
 
28
\ViaThinkSoft\RateLimitingChallenge\ClientChallenge::createChallenge(COMPLEXITY);
28
\ViaThinkSoft\RateLimitingChallenge\ClientChallenge::createChallenge(COMPLEXITY, VTS_CS_SERVER_SECRET);