rsa_private_decrypt()

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