diff --git a/composer.json b/composer.json index 5edc9aa..447ea32 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "require": { "php": "^7.1|^8.0", "intervention/image": "^2.4", - "phpseclib/phpseclib": "^2.0" + "phpseclib/phpseclib": "^3.0" }, "require-dev": { "phpunit/phpunit": "^7|^8|^9", diff --git a/src/Hash.php b/src/Hash.php index 716fa20..02ea862 100644 --- a/src/Hash.php +++ b/src/Hash.php @@ -3,7 +3,7 @@ namespace Jenssegers\ImageHash; use JsonSerializable; -use phpseclib\Math\BigInteger; +use phpseclib3\Math\BigInteger; class Hash implements JsonSerializable {