stymiee/php-simple-encryption

View on GitHub
src/Encryption/Interfaces/IEncryptWithInitializationVector.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace Encryption\Interfaces;

/**
 * Interface IEncryptWithInitializationVector
 * @package Encryption\Interfaces
 */
interface IEncryptWithInitializationVector
{
    public function encrypt(string $plainText, string $key, string $iv): string;

    public function decrypt(string $encryptedText, string $key, string $iv): string;
}