| Current Path : /home/jeromecohp/www/plugins/system/yooessentials/modules/core/src/Encryption/ |
| Current File : /home/jeromecohp/www/plugins/system/yooessentials/modules/core/src/Encryption/Library.php |
<?php
/**
* @package Essentials YOOtheme Pro (Freemium) 2.0.19 build 1026.0920
* @author ZOOlanders https://www.zoolanders.com
* @copyright Copyright (C) Joolanders, SL
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
namespace ZOOlanders\YOOessentials\Encryption;
abstract class Library
{
/**
* Encrypts data with given parameters.
*
* @param string $data
* @param string $key
* @param string $iv
*
* @return string
*/
abstract public function encrypt($data, $key, $iv);
/**
* Decrypts data with given parameters.
*
* @param string $data
* @param string $key
* @param string $iv
*
* @return string
*/
abstract public function decrypt($data, $key, $iv);
/**
* Generates an initialization vector.
*
* @return string
*/
abstract public function generateIv();
}