public function build($algorithm, $key)
    {
        $algorithm = $this->validateSupportedAlgorithm($algorithm);

        return new HmacHasher($algorithm, $key);
    }
public function build($algorithm, $key)
    {
        $algorithm = $this->validateSupportedAlgorithm($algorithm);

        return new HmacHasher($algorithm, $key);
    }
{@inheritDoc}