openssl_private_decrypt

Supported Versions: PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8
Decrypts data with private key
openssl_private_decrypt(¬†¬†¬†¬†string $data,¬†¬†¬†¬†string &$decrypted_data,¬†¬†¬†¬†OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key,¬†¬†¬†¬†int $padding OPENSSL_PKCS1_PADDING): bool