Размер файла: 668B
<?php
namespace PhpZip\Crypto;
use PhpZip\Exception\ZipAuthenticationException;
/**
* Encryption Engine.
*
* @see https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT .ZIP File Format Specification
*
* @author Ne-Lexa [email protected]
* @license MIT
*/
interface ZipEncryptionEngine
{
/**
* Decryption string.
*
* @param string $encryptionContent
*
* @throws ZipAuthenticationException
*
* @return string
*/
public function decrypt($encryptionContent);
/**
* Encryption string.
*
* @param string $content
*
* @return string
*/
public function encrypt($content);
}