mirror of
https://github.com/BillyOutlast/UNIT3D.git
synced 2026-02-04 03:01:20 +01:00
Just an initial portion for now fixing incorrect text and preventing future incorrect text. Eventually, I'd like to fix everything still listed under "ignoredWords" in cspell.json.
51 lines
1.1 KiB
PHP
51 lines
1.1 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* NOTICE OF LICENSE.
|
|
*
|
|
* UNIT3D Community Edition is open-sourced software licensed under the GNU Affero General Public License v3.0
|
|
* The details is bundled with this project in the file LICENSE.txt.
|
|
*
|
|
* @project UNIT3D Community Edition
|
|
*
|
|
* @author HDVinnie <hdinnovations@protonmail.com>
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0
|
|
*/
|
|
|
|
namespace App\Helpers;
|
|
|
|
use ZipArchive;
|
|
|
|
class BackupEncryption
|
|
{
|
|
/**
|
|
* Default encryption constants.
|
|
*
|
|
* @var int
|
|
*/
|
|
final public const ENCRYPTION_DEFAULT = ZipArchive::EM_AES_128;
|
|
|
|
/**
|
|
* AES-128 encryption constants.
|
|
*
|
|
* @var int
|
|
*/
|
|
final public const ENCRYPTION_WINZIP_AES_128 = ZipArchive::EM_AES_128;
|
|
|
|
/**
|
|
* AES-192 encryption constants.
|
|
*
|
|
* @var int
|
|
*/
|
|
final public const ENCRYPTION_WINZIP_AES_192 = ZipArchive::EM_AES_192;
|
|
|
|
/**
|
|
* AES-256 encryption constants.
|
|
*
|
|
* @var int
|
|
*/
|
|
final public const ENCRYPTION_WINZIP_AES_256 = ZipArchive::EM_AES_256;
|
|
}
|