diff --git a/composer.json b/composer.json index a687e7b9..d2e06c5f 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "php": ">=5.6.0", "ext-json": "*", "guzzlehttp/guzzle": "^6.2.1 || ^7.0.1", - "phpseclib/phpseclib": "^2.0.11", + "phpseclib/phpseclib": "^2.0.11 || ^3.0.0", "gree/jose": "^2.2.1" }, "autoload": { diff --git a/src/Hyperwallet/Util/HyperwalletEncryption.php b/src/Hyperwallet/Util/HyperwalletEncryption.php index 3cc5cbe6..80c9ef32 100644 --- a/src/Hyperwallet/Util/HyperwalletEncryption.php +++ b/src/Hyperwallet/Util/HyperwalletEncryption.php @@ -10,7 +10,7 @@ use Hyperwallet\Response\ErrorResponse; use Composer\Autoload\ClassLoader; use phpseclib\Crypt\RSA; -use phpseclib\Math\BigInteger; +use Phpseclib\Math\BigInteger; use phpseclib\Crypt\Hash; use JOSE_URLSafeBase64; use JOSE_JWS;