code: def sign(self, encoded):
          
          signature = self._hmac.copy()
          signature.update(encoded)
          return signature.hexdigest().encode('utf-8')
docs: Return authentication signature of encoded bytes