Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class Crypto { |
||
14 | /** |
||
15 | * @var GlobalContainer $gc |
||
16 | */ |
||
17 | protected $gc; |
||
18 | |||
19 | public function __construct(GlobalContainer $gc) { |
||
20 | $this->gc = $gc; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @param string $string |
||
25 | * |
||
26 | * @return string |
||
27 | */ |
||
28 | public function sign($string) { |
||
29 | return $this->hash($string); |
||
30 | } |
||
31 | |||
32 | public function signCheck($string, $sign) { |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Used hash function |
||
38 | * |
||
39 | * @param $string |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | public function hash($string) { |
||
45 | } |
||
46 | |||
48 |