openssl_public_decrypt

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