@classmethod
    def create_signature(cls, method, base, params, consumer_secret, token_secret=''):
        
        base_string = _create_base_string(method, base, params)
        key = cls._create_key(consumer_secret, token_secret)

        hashed = hmac.new(six.b(key), base_string.encode('utf-8'), hashlib.sha1)


        base64_encoded = binascii.b2a_base64(hashed.digest())[:-1]
        
        return base64_encoded
Returns HMAC-SHA1 signature
dataset/ETHPy150Open peterhudec/authomatic/authomatic/providers/oauth1.py/HMACSHA1SignatureGenerator.create_signature