rsa_public_encrypt()

 
Encrypt the data in plaintext, storing the result in encrypted, using the public key portion of the RSA structure specified by rsa.
Syntax
rsa_public_encrypt( rsa, plaintext, encrypted var )
Returns 1 on success, 0 on error.
User Annotations: rsa_public_encrypt