Make the code compatible with phpseclib 3 by YannZeRookie · Pull Request #368 · web3p/web3.php

Some other packages in my project required phpseclib 3, which conflicted with the web3.php package being limited to phpseclib 2.

Ideally, web3.php could be compatible with both version 2 and version 3 if you think that moving to version 3 could break other people's projects. But I am not good enough to propose a PR doing this.

HTH!