Dcrypt\Str::hashSize PHP Method

hashSize() public static method

Determine the length of the output of a given hash algorithm in bytes.
public static hashSize ( string $algo ) : integer
$algo string Name of algorithm to look up
return integer
    public static function hashSize($algo)
    {
        return self::strlen(\hash($algo, 'hash me', true));
    }