stymiee/php-simple-encryption

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

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace Encryption\Interfaces;

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

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