sha1
spatie/fork
Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Calculate the sha1 hash of a string
<?php sha1
(
string $string
,
bool $binary
=
false
):
string