@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | * @param string $K Encryption key |
| 74 | 74 | * @param string $IV Initialization vector |
| 75 | 75 | * @throws \RuntimeException For generic errors |
| 76 | - * @return array Tuple of ciphertext <code>C</code> and authentication tag |
|
| 76 | + * @return string[] Tuple of ciphertext <code>C</code> and authentication tag |
|
| 77 | 77 | * <code>T</code> |
| 78 | 78 | */ |
| 79 | 79 | public function encrypt($P, $A, $K, $IV) { |
@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | /** |
| 197 | 197 | * Increment 32 rightmost bits of the counter block. |
| 198 | 198 | * |
| 199 | - * @param unknown $X |
|
| 199 | + * @param string $X |
|
| 200 | 200 | */ |
| 201 | 201 | private static function _inc32($X) { |
| 202 | 202 | $Y = substr($X, 0, -4); |