Things have changed in the library, you now need to do this:
use phpseclib\Crypt\RSA;
$rsa = new RSA();
This change was made in 2.0.0 as far as I know.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community