src/Tus/Server.php
protected function getSupportedHashAlgorithms() : string
    {
        $supportedAlgorithms = hash_algos();

        $algorithms = [];
        foreach ($supportedAlgorithms as $hashAlgo) {
            if (false !== strpos($hashAlgo, ',')) {
                $algorithms[] = "'{$hashAlgo}'";
            } else {
                $algorithms[] = $hashAlgo;
            }
        }

        return implode(',', $algorithms);
    }
protected function getSupportedHashAlgorithms() : string
    {
        $supportedAlgorithms = hash_algos();

        $algorithms = [];
        foreach ($supportedAlgorithms as $hashAlgo) {
            if (false !== strpos($hashAlgo, ',')) {
                $algorithms[] = "'{$hashAlgo}'";
            } else {
                $algorithms[] = $hashAlgo;
            }
        }

        return implode(',', $algorithms);
    }
protected function getSupportedHashAlgorithms ( ) : string { $ supportedAlgorithms = hash_algos ( ) ; $ algorithms = [ ] ; foreach ( $ supportedAlgorithms as $ hashAlgo ) { if ( false !== strpos ( $ hashAlgo , ',' ) ) { $ algorithms [ ] = "'{$hashAlgo}'" ; } else { $ algorithms [ ] = $ hashAlgo ; } } return implode ( ',' , $ algorithms ) ; }
Get list of supported hash algorithms.

@return string
Get list of supported hash algorithms .