Encrypts data using the private key portion of an RSA keypair.
rsa_private_encrypt( rsa, plaintext, encrypted var )
Returns 1 on success, 0 on error.
  • rsa = The internal reference to the RSA private key used for encryption
  • plaintext = The data to be encrypted
  • encrypted = A variable which receives the encrypted ciphertext in raw binary format
User Annotations: rsa_private_encrypt