rsa_encrypt is available since version 1.0.
Prototype:
string rsa_encrypt(string data, string rsa_public_key)
Parameters
rsa_public_key
the public key to use
Description:
Encrypts using the RSA algorithm. For generating key pairs, you may want to use
rsa_generate_keys.
Return value:
Returns the encrypted data.