1 | <?php |
||
11 | class Security |
||
12 | { |
||
13 | /** |
||
14 | * Create signature hash used to verify messages |
||
15 | * |
||
16 | * @param mixed[] $data Full set of data |
||
17 | * @param string[] $fields Array of keys to filter |
||
18 | * @param string $key The key used to encrypt the data |
||
19 | * |
||
20 | * @return string Generated signature |
||
21 | */ |
||
22 | 11 | public function createSignature($data, $fields, $key) |
|
31 | } |
||
32 |