openssl_pkey_new

Supported Versions: PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
Generates a new private key
<?php openssl_pkey_new(?array $options = null): OpenSSLAsymmetricKey|false