Horde_Token_Base::_hash PHP Method

_hash() private method

Sign the given text with the secret.
private _hash ( string $text ) : string
$text string The text to be signed.
return string The hashed text.
    private function _hash($text)
    {
        return hash('sha256', $text . $this->_params['secret'], true);
    }