code: def sign(self, consumer_secret, method, url, oauth_token_secret=None,
               **params):
          
          key = self._escape(consumer_secret) + b'&'
          if oauth_token_secret:
              key += self._escape(oauth_token_secret)
          return key.decode()
docs: Create a signature using PLAINTEXT.