From 0077c7a2195969d7b8f43c954b03058484c4102d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rancoud?= Date: Thu, 23 May 2024 18:11:19 +0200 Subject: [PATCH] remove encryption methods sm4-xts, 1.2.156.10197.1.104.10 for PHP>=8.1 --- src/Encryption.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Encryption.php b/src/Encryption.php index 4fc46d6..41778ed 100644 --- a/src/Encryption.php +++ b/src/Encryption.php @@ -98,6 +98,7 @@ public function getAvailableMethods(): array 'camellia-192-cbc-cts', 'camellia-256-cbc-cts', 'null', + 'sm4-xts', '0.3.4401.5.3.1.9.1', '0.3.4401.5.3.1.9.21', '0.3.4401.5.3.1.9.41', @@ -110,6 +111,7 @@ public function getAvailableMethods(): array '1.2.410.200046.1.1.38', '1.2.410.200046.1.1.39', '1.2.410.200046.1.1.6', + '1.2.156.10197.1.104.10', '1.2.840.113549.1.9.16.3.6', '1.3.14.3.2.17', '2.16.840.1.101.3.4.1.1',