| Total Complexity | 1 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | abstract class HMACPRF extends PRF |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * {@inheritdoc} |
||
| 14 | */ |
||
| 15 | 10 | public function compute(string $arg1, string $arg2): string |
|
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Get the name of the hash algorithm supported by hash_hmac. |
||
| 22 | * |
||
| 23 | * @return string |
||
| 24 | */ |
||
| 25 | abstract protected function _hashAlgo(): string; |
||
| 26 | } |
||
| 27 |