From 85a844bab18b79de194917b0fabb1754b2cc994d Mon Sep 17 00:00:00 2001 From: terrafrost Date: Tue, 26 Jan 2021 22:58:45 -0600 Subject: [PATCH] RSA: CS adjustments --- phpseclib/Crypt/RSA.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpseclib/Crypt/RSA.php b/phpseclib/Crypt/RSA.php index 9ff33e67..882fadd2 100644 --- a/phpseclib/Crypt/RSA.php +++ b/phpseclib/Crypt/RSA.php @@ -93,6 +93,7 @@ abstract class RSA extends AsymmetricKey * @see self::decrypt() */ const ENCRYPTION_OAEP = 1; + /** * Use PKCS#1 padding. * @@ -104,6 +105,7 @@ abstract class RSA extends AsymmetricKey * @see self::decrypt() */ const ENCRYPTION_PKCS1 = 2; + /** * Do not use any padding * @@ -130,6 +132,7 @@ abstract class RSA extends AsymmetricKey * @access public */ const SIGNATURE_PSS = 16; + /** * Use a relaxed version of PKCS#1 padding for signature verification * @@ -139,6 +142,7 @@ abstract class RSA extends AsymmetricKey * @access public */ const SIGNATURE_RELAXED_PKCS1 = 32; + /** * Use PKCS#1 padding for signature verification *