IEncryptAeadMode
last analyzed

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
encrypt() 0 1 ?
decrypt() 0 1 ?
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Encryption\Interfaces;
6
7
8
interface IEncryptAeadMode
0 ignored issues
show
Coding Style introduced by
IEncryptAeadMode does not seem to conform to the naming convention (^[A-Z][a-zA-Z0-9]*Interface$).

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.

Loading history...
9
{
10
    public function encrypt(string $plainText, string $key, string $iv, string &$tag): string;
11
    public function decrypt(string $encryptedText, string $key, string $iv, string $tag): string;
12
}
13