From 504f26f785143d6240fc343b1fc540f0e15363f5 Mon Sep 17 00:00:00 2001 From: aB0t Date: Tue, 24 Oct 2023 10:36:32 +0200 Subject: [PATCH] update 2023-10-24 10:36:32 --- src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/README.md | 2 +- src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/code.php | 7 +++++-- src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/code.power | 4 ++-- src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/settings.json | 7 ++++++- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/README.md b/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/README.md index f3cc1b5..ea1e6ea 100644 --- a/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/README.md +++ b/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/README.md @@ -15,7 +15,7 @@ interface AesInterface #Lavender { + encrypt(string $plainText, string $key, ...) : string + decrypt(string $cipherText, string $key) : string + getBlockSize() : int - + isSupported(FOFUtilsPhpfunc $phpfunc = null) : bool + + isSupported(Phpfunc $phpfunc = null) : bool } note right of AesInterface::setEncryptionMode diff --git a/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/code.php b/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/code.php index a53e6d0..a4c193c 100644 --- a/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/code.php +++ b/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/code.php @@ -16,6 +16,9 @@ namespace VDM\Joomla\FOF\Encrypt\AES; +use VDM\Joomla\FOF\Utils\Phpfunc; + + /** * Interface for AES encryption adapters * @@ -86,10 +89,10 @@ interface AesInterface /** * Is this adapter supported? * - * @param FOFUtilsPhpfunc $phpfunc + * @param Phpfunc $phpfunc * * @return bool */ - public function isSupported(FOFUtilsPhpfunc $phpfunc = null); + public function isSupported(Phpfunc $phpfunc = null); } diff --git a/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/code.power b/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/code.power index 9e0e665..b1e6ece 100644 --- a/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/code.power +++ b/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/code.power @@ -59,8 +59,8 @@ /** * Is this adapter supported? * - * @param FOFUtilsPhpfunc $phpfunc + * @param Phpfunc $phpfunc * * @return bool */ - public function isSupported(FOFUtilsPhpfunc $phpfunc = null); \ No newline at end of file + public function isSupported(Phpfunc $phpfunc = null); \ No newline at end of file diff --git a/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/settings.json b/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/settings.json index f634358..abd3cc9 100644 --- a/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/settings.json +++ b/src/7f753585-6e3b-4b81-bd29-3b7bdf0e3769/settings.json @@ -9,7 +9,12 @@ "power_version": "1.0.0", "system_name": "FOF.Encrypt.AES.AesInterface", "type": "interface", - "use_selection": null, + "use_selection": { + "use_selection0": { + "use": "470a08ee-6b31-4a2b-98d9-5b64757a3b34", + "as": "default" + } + }, "namespace": "VDM\\Joomla\\FOF\\Encrypt.AES.AesInterface", "description": "Interface for AES encryption adapters\r\n\r\n@package FrameworkOnFramework\r\n@since 1.0\r\n@deprecated Use phpseclib\/phpseclib version 3 Instead. ", "licensing_template": "\/**\r\n * @package FrameworkOnFramework\r\n * @subpackage Encryption\r\n * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos \/ Akeeba Ltd. All rights reserved.\r\n * @license GNU General Public License version 2 or later; see LICENSE.txt\r\n * @note\t This file has been modified by the Joomla! Project (and VDM) and no longer reflects the original work of its author.\r\n * @depreciation This was ported for the sake of those who have stuff encrypted with the FOF encryption suite.\r\n * - Do not use this in new projects.\r\n * - Expect no updates.\r\n * - This is outdated.\r\n * - Not best choice for encryption.\r\n * - Use phpseclib\/phpseclib version 3 Instead.\r\n * - Checkout the JCB Crypt Suite. \r\n *\/",