From 0abce39e3946289bb0d270965fbb713624ca4e16 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Thu, 27 Jun 2019 00:30:55 -0500 Subject: [PATCH] move $enableBlinding property from AsymmetricKey to RSA --- phpseclib/Crypt/Common/AsymmetricKey.php | 8 -------- phpseclib/Crypt/RSA.php | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/phpseclib/Crypt/Common/AsymmetricKey.php b/phpseclib/Crypt/Common/AsymmetricKey.php index 313cbc10..380e5502 100644 --- a/phpseclib/Crypt/Common/AsymmetricKey.php +++ b/phpseclib/Crypt/Common/AsymmetricKey.php @@ -71,14 +71,6 @@ abstract class AsymmetricKey */ private $hmac; - /** - * Enable Blinding? - * - * @var bool - * @access private - */ - protected static $enableBlinding = true; - /** * Supported plugins (lower case) * diff --git a/phpseclib/Crypt/RSA.php b/phpseclib/Crypt/RSA.php index 9e5191f2..d1187bae 100644 --- a/phpseclib/Crypt/RSA.php +++ b/phpseclib/Crypt/RSA.php @@ -224,6 +224,14 @@ abstract class RSA extends AsymmetricKey */ private static $defaultExponent = 65537; + /** + * Enable Blinding? + * + * @var bool + * @access private + */ + protected static $enableBlinding = true; + /** * Smallest Prime *