Supported Versions: PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
Generate signature
<?php openssl_sign(    string $data,    string &$signature,    OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key,    string|int $algorithm = OPENSSL_ALGO_SHA1): bool