phpseclib: key pair (public and private)
Input
Fatal error: Uncaught Error: Call to undefined method stdClass::compare() in /membri/cryptojs/cryptojs/crypto-phpseclib/Math/BigInteger.php:3152
Stack trace:
#0 /membri/cryptojs/cryptojs/crypto-phpseclib/Crypt/RSA.php(604): Math_BigInteger->randomPrime(Object(Math_BigInteger), Object(Math_BigInteger), false)
#1 /membri/cryptojs/cryptojs/crypto-phpseclib/index.php(46): Crypt_RSA->createKey(128)
#2 {main}
thrown in /membri/cryptojs/cryptojs/crypto-phpseclib/Math/BigInteger.php on line 3152