openssl_digest

Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
Computes a digest
openssl_digest(string $datastring $digest_algobool $binary false): string|false