public function dencrypt($data) { return RSA::rsa_decrypt($data, $this->private_key, $this->modulus, $this->key_length); }
function rsa_verify($message, $public_key, $modulus, $keylength) { return RSA::rsa_decrypt($message, $public_key, $modulus, $keylength); }