Emarref\Jwt\Algorithm\Hmac::compute PHP Method

compute() public method

public compute ( string $value ) : string
$value string
return string
    public function compute($value)
    {
        return hash_hmac($this->getAlgorithm(), $value, $this->secret, true);
    }