openssl_pkey_new()
The openssl_pkey_new() function generates a new private key. This is useful for creating key pairs for encryption and digital signatures.