MivaScript Builtin Function, Miva Merchant 9+
rsa_public_encrypt( rsa, plaintext, encrypted var )
<mvt:assign name="g.return_value" value="rsa_public_encrypt( rsa, plaintext, encrypted var )" />
Encrypts data using the public key portion of an RSA keypair.
rsa
The internal reference to the RSA public key used for encryption
plaintext
The data to be encrypted
encrypted
A variable which receives the encrypted ciphertext in raw binary format