call the function base64_hmac with 3 arguments: string 'signer' appended to self.salt, value and self.key, substitute the result for signature.
signature = base64_hmac ( self . salt + 'signer' , value , self . key )