public function hash($content, $privateKey)
    {
        Arguments::define(Boa::string(), Boa::string())
            ->check($content, $privateKey);

        return hash_hmac($this->algorithm, $content, $privateKey);
    }
public function hash($content, $privateKey)
    {
        Arguments::define(Boa::string(), Boa::string())
            ->check($content, $privateKey);

        return hash_hmac($this->algorithm, $content, $privateKey);
    }
public function hash ( $ content , $ privateKey ) { Arguments :: define ( Boa :: string ( ) , Boa :: string ( ) ) -> check ( $ content , $ privateKey ) ; return hash_hmac ( $ this -> algorithm , $ content , $ privateKey ) ; }
Generate a hash of the content using the provided private key.

@param string $content
@param string $privateKey

@return string
Generate a hash of the content using the provided private key .