1 | <?php |
||
12 | abstract class ACipherAeadMode extends ACipher implements ICipher, IEncryptAeadMode |
||
|
|||
13 | { |
||
14 | use generateIv; |
||
15 | |||
16 | abstract public function encrypt(string $plainText, string $key, string $iv, string &$tag): string; |
||
17 | |||
18 | abstract public function decrypt(string $encryptedText, string $key, string $iv, string $tag): string; |
||
19 | } |
||
20 | |||
21 |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.