How can i get publickey from pem file which is created based on rsa 364. installed crypt(RSA.php) library still getting below error
Fatal error: Call to unde
According to the Crypt_RSA documentation, the Crypt_RSA class doesn't have a loadKey() method. You pass the public key to the constructor as part of an associative array of parameters:
$rsa_obj = new Crypt_RSA(array('public_key' => $publickey));