| 1 |
<?php |
| 2 |
|
| 3 |
namespace AltchaOrg\Altcha; |
| 4 |
|
| 5 |
class Challenge |
| 6 |
{ |
| 7 |
public $algorithm; |
| 8 |
public $challenge; |
| 9 |
public $maxnumber; |
| 10 |
public $salt; |
| 11 |
public $signature; |
| 12 |
|
| 13 |
public function __construct($algorithm, $challenge, $maxNumber, $salt, $signature) |
| 14 |
{ |
| 15 |
$this->algorithm = $algorithm; |
| 16 |
$this->challenge = $challenge; |
| 17 |
$this->maxnumber = $maxNumber; |
| 18 |
$this->salt = $salt; |
| 19 |
$this->signature = $signature; |
| 20 |
} |
| 21 |
} |
| 22 |
|