Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
22 | class Hmac |
||
23 | { |
||
24 | /** |
||
25 | * Hmac::hash |
||
26 | * |
||
27 | * Generate a keyed hash value using the HMAC method. |
||
28 | * |
||
29 | * @param string $algo |
||
30 | * @param string|array|object $data |
||
31 | * @param string $key |
||
32 | * @param bool $rawOutput |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | public static function hash($algo, $data, $key, $rawOutput = false) |
||
48 | } |
||
49 | } |